summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/main.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-13 09:24:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-13 09:24:45 +0000
commitc9ecfca03e9e2042a86211ae8410cb226d34f204 (patch)
treec89221a673eed0fbc00a4da2a9d37f3adeaf02a3 /perl-install/Xconfig/main.pm
parent99ac989df64e5584088681aa98a95dbb92461699 (diff)
downloaddrakx-backup-do-not-use-c9ecfca03e9e2042a86211ae8410cb226d34f204.tar
drakx-backup-do-not-use-c9ecfca03e9e2042a86211ae8410cb226d34f204.tar.gz
drakx-backup-do-not-use-c9ecfca03e9e2042a86211ae8410cb226d34f204.tar.bz2
drakx-backup-do-not-use-c9ecfca03e9e2042a86211ae8410cb226d34f204.tar.xz
drakx-backup-do-not-use-c9ecfca03e9e2042a86211ae8410cb226d34f204.zip
silently ignore existing X config file if upgrading an alien distro
Diffstat (limited to 'perl-install/Xconfig/main.pm')
-rw-r--r--perl-install/Xconfig/main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/main.pm b/perl-install/Xconfig/main.pm
index 3a4b27e0d..bdb4cbfa5 100644
--- a/perl-install/Xconfig/main.pm
+++ b/perl-install/Xconfig/main.pm
@@ -174,7 +174,7 @@ sub configure_everything_or_configure_chooser {
$err ||= check_valid($raw_X) if $raw_X && @$raw_X; #- that's ok if config is empty
if ($err) {
log::l("ERROR: bad X config file (error: $err)");
- $in->ask_okcancel('',
+ $options->{ignore_bad_conf} or $in->ask_okcancel('',
N("Your Xorg configuration file is broken, we will ignore it.")) or return;
$raw_X = [];
}