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

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

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);