diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-10-29 17:14:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-10-29 17:14:03 +0000 |
commit | 6e9a6753e516d8c9329bc63d39a1d89b7c58f111 (patch) | |
tree | 390e3aa7c151897b078462223ed20d3b7a7549ca /perl-install/standalone/notify-x11-free-driver-switch | |
parent | ecb7350fb94a6386abb4975ed8e6d55805a27920 (diff) | |
download | drakx-backup-do-not-use-6e9a6753e516d8c9329bc63d39a1d89b7c58f111.tar drakx-backup-do-not-use-6e9a6753e516d8c9329bc63d39a1d89b7c58f111.tar.gz drakx-backup-do-not-use-6e9a6753e516d8c9329bc63d39a1d89b7c58f111.tar.bz2 drakx-backup-do-not-use-6e9a6753e516d8c9329bc63d39a1d89b7c58f111.tar.xz drakx-backup-do-not-use-6e9a6753e516d8c9329bc63d39a1d89b7c58f111.zip |
(schedule_warn_about_switch,notify-x11-free-driver-switch) explain why
xorg driver was reconfigured
Diffstat (limited to 'perl-install/standalone/notify-x11-free-driver-switch')
-rwxr-xr-x | perl-install/standalone/notify-x11-free-driver-switch | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/perl-install/standalone/notify-x11-free-driver-switch b/perl-install/standalone/notify-x11-free-driver-switch index fd43416a1..1a7ecc1b5 100755 --- a/perl-install/standalone/notify-x11-free-driver-switch +++ b/perl-install/standalone/notify-x11-free-driver-switch @@ -12,5 +12,12 @@ my $driver = eval { $raw_X->get_Driver; } || N("unknown"); -$in->ask_warn(N("Warning"), N("The proprietary driver for your graphic card can not be found, the system is now using the free software driver (%s).", $driver)); + +my $reason = cat_($ENV{LOCK}); + +$in->ask_warn(N("Warning"), + join("\n\n", + N("The proprietary driver for your graphic card can not be found, the system is now using the free software driver (%s).", $driver), + if_($reason, N("Reason: %s", $reason)), + )); unlink $0 if $0 =~ m!/etc/X11/xsetup.d/!; |