/usr/sbin/update-dictcommon-aspell is in dictionaries-common 1.26.3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | #!/usr/bin/perl -w
use strict;
use Debian::DictionariesCommon q(:all);
dico_checkroot ();
my $cachedir = "/var/cache/dictionaries-common";
my $class = "aspell";
my %locales = ();
updatedb ($class);
build_emacsen_support ();
build_squirrelmail_support ();
#
build_jed_support ();
# Clean orphaned remove files and its contents.
my $dictionaries = loaddb ($class);
dico_clean_orphaned_removefiles($class,$dictionaries);
system ("aspell-autobuildhash") == 0
or die "Error running aspell-autobuildhash\n";
#
__END__
=head1 NAME
update-dictcommon-aspell - rebuild aspell database and emacsen stuff
=head1 SYNOPSIS
update-dictcommon-aspell
=head1 DESCRIPTION
WARNING: Not to be used from the command line unless you know very well what you are doing.
This script, when called from aspell dict package postinst or postrm will
rebuild aspell database as well as squirrelmail, jed and emacsen stuff.
=head1 SEE ALSO
The dictionaries-common policy
=head1 AUTHORS
Rafael Laboissiere,
Agustin Martin
=cut
|