diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2001-07-27 12:59:53 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2001-07-27 12:59:53 +0000 |
commit | 69ef6fc24e26ec053d86c8f080822408a225d929 (patch) | |
tree | 90b0d9034bb034b31fb660c29b426623caa6a9b9 /perl-install | |
parent | d84c91a8c829fe711b3253665166ae4d92da63a4 (diff) | |
download | drakx-69ef6fc24e26ec053d86c8f080822408a225d929.tar drakx-69ef6fc24e26ec053d86c8f080822408a225d929.tar.gz drakx-69ef6fc24e26ec053d86c8f080822408a225d929.tar.bz2 drakx-69ef6fc24e26ec053d86c8f080822408a225d929.tar.xz drakx-69ef6fc24e26ec053d86c8f080822408a225d929.zip |
- install_steps_gtk.pm (launchX) : create /var/log, if not existent, for
XFree86.log
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps_gtk.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index e0d90e7d9..35a796488 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -46,7 +46,8 @@ sub new($$) { my $launchX = sub { my $ok = 1; - my $xpmac_opts = cat_("/proc/cmdline"); + my $xpmac_opts = cat_("/proc/cmdline"); + unless (-d "/var/log" ) { mkdir("/var/log"); } local $SIG{CHLD} = sub { $ok = 0 if waitpid(-1, c::WNOHANG()) > 0 }; unless (fork) { exec $_[0], (arch() =~ /^sparc/ || arch() eq "ppc" ? () : ("-kb")), "-dpms","-s" ,"240", |