|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /proc/thread-self/root/var/lib/dpkg/info/ |
Upload File : |
#!/usr/bin/perl -w
use Debconf::Client::ConfModule q(:all);
version ('2.0');
my $class = "wordlist";
my $script = "/usr/share/dictionaries-common/dc-debconf-select.pl";
my $has_elanguages = "/usr/share/dictionaries-common/elanguages";
# This is not a standard dictionaries-common.config. Since dictionaries-common
# will eventually become an optional package, we need to make sure that
# wamerican does not run common config code unless a recent (e.g., with
# elanguages support) dictionaries-common is installed.
#
# This is not a problem when the whole system is installed from scratch, but
# can be when dictionaries-common and wamerican are upgraded together from
# previous non elanguages dictionaries-common version. In such case $script
# is present, so we need an extra check on $has_elanguages.
if ( -e $script && -e $has_elanguages ){
require $script;
dc_debconf_select($class);
}