summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-13 16:25:18 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-13 16:25:18 +0000
commit51ce8edf711229049dd17bf26669b69a78e953bf (patch)
tree922489ec0e8d2f8f675ffc33309c625c21f2fc87 /perl-install
parent5cb4d8f0463c688eec1644ce05f6c6ca326a8574 (diff)
downloaddrakx-51ce8edf711229049dd17bf26669b69a78e953bf.tar
drakx-51ce8edf711229049dd17bf26669b69a78e953bf.tar.gz
drakx-51ce8edf711229049dd17bf26669b69a78e953bf.tar.bz2
drakx-51ce8edf711229049dd17bf26669b69a78e953bf.tar.xz
drakx-51ce8edf711229049dd17bf26669b69a78e953bf.zip
reuse any::ask_for_X_restart() (thus also advise to restart when changing
system wide settings)
Diffstat (limited to 'perl-install')
-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);