summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/localedrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/localedrake')
-rw-r--r--perl-install/standalone/localedrake5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake
index b71f4cff7..fb17348e0 100644
--- a/perl-install/standalone/localedrake
+++ b/perl-install/standalone/localedrake
@@ -22,12 +22,11 @@ if ($klang) {
#- help KDE defaulting to the right charset
print lang::charset2kde_charset(lang::lang2charset($lang)), "\n";
} else {
- my ($lang, $langs) = lang::read('', $>);
+ my ($lang) = lang::read('', $>);
my $in = 'interactive'->vnew;
- if ($lang = any::selectLanguage($in, $lang, $langs)) {
+ if ($lang = any::selectLanguage($in, $lang)) {
lang::write('', $lang, $>);
- lang::write_langs('', $langs) if $langs;
if ($>) {
if (my $wm = any::running_window_manager()) {
$in->ask_okcancel('', _("The change is done, but to be effective you must logout"), 1)