summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/localedrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/localedrake')
-rwxr-xr-xperl-install/standalone/localedrake8
1 files changed, 1 insertions, 7 deletions
diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake
index 0e311b383..c4bbf16ef 100755
--- a/perl-install/standalone/localedrake
+++ b/perl-install/standalone/localedrake
@@ -52,10 +52,4 @@ if ($> && lang::IM2packages($locale)) {
}
lang::write_and_install($locale, $in->do_pkgs, $>);
-my $msg = N("The change is done, but to be effective you must logout");
-if (my $wm = $> && any::running_window_manager()) {
- $in->ask_okcancel('', $msg, 1)
- and any::ask_window_manager_to_logout($wm);
-} else {
- $in->ask_warn('', $msg);
-}
+any::ask_for_X_restart($in);