summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-09-13 13:16:56 +0000
committerFrancois Pons <fpons@mandriva.com>2001-09-13 13:16:56 +0000
commit8a33f256e6081ad807a6f14b6d96543e8af705d2 (patch)
tree086ee3f2d1fdaac1f90779ab3d00d84b74eadc97
parent80e48e68f938a747844de5498dcf0a24849b3faa (diff)
downloaddrakx-8a33f256e6081ad807a6f14b6d96543e8af705d2.tar
drakx-8a33f256e6081ad807a6f14b6d96543e8af705d2.tar.gz
drakx-8a33f256e6081ad807a6f14b6d96543e8af705d2.tar.bz2
drakx-8a33f256e6081ad807a6f14b6d96543e8af705d2.tar.xz
drakx-8a33f256e6081ad807a6f14b6d96543e8af705d2.zip
avoid creating /etc/X11/XF86Config* file if --g_auto_install.
-rw-r--r--perl-install/Xconfigurator.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index 73118361d..45027f0a6 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -888,6 +888,8 @@ sub write_XF86Config {
my ($o, $file) = @_;
my $O;
+ $::g_auto_install and return;
+
local (*F, *G);
open F, ">$file" or die "can't write XF86Config in $file: $!";
open G, ">$file-4" or die "can't write XF86Config in $file-4: $!";