config is in wnorwegian 2.0.10-5.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
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 | #!/usr/bin/perl
use Debconf::Client::ConfModule q(:all);
version ('2.0');
my $class = "wordlist";
my $script = "/usr/share/dictionaries-common/dc-debconf-select.pl";
if ( -e $script ){
require $script;
dc_debconf_select($class);
}
# Now the package local stuff
# Selecting whichvariant
if (-l "/etc/dictionaries-common/norsk") {
my $lang = readlink "/etc/dictionaries-common/norsk";
$lang =~ s|^.*/||;
set("wnorwegian/whichvariant", $lang);
}
if (get("wnorwegian/whichvariant")){
input ("medium","wnorwegian/whichvariant");
go();
}
|