summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/localedrake
blob: cc43ee653217f0db636cc6639fa9f8c8a2fc1177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl

use lib qw(/usr/lib/libDrakX);

use standalone;     #- warning, standalone must be loaded very first, for 'explanations'

use interactive;
use lang;
use any;

my $in = 'interactive'->vnew('su');

my ($lang, $langs) = lang::read();
if ($lang = any::selectLanguage($in, $lang, $langs)) {
    lang::write('', $lang);
    lang::write_langs('', $langs);
}

$in->exit(0);