summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2001-07-27 12:59:53 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2001-07-27 12:59:53 +0000
commit69ef6fc24e26ec053d86c8f080822408a225d929 (patch)
tree90b0d9034bb034b31fb660c29b426623caa6a9b9 /perl-install/install_steps_gtk.pm
parentd84c91a8c829fe711b3253665166ae4d92da63a4 (diff)
downloaddrakx-backup-do-not-use-69ef6fc24e26ec053d86c8f080822408a225d929.tar
drakx-backup-do-not-use-69ef6fc24e26ec053d86c8f080822408a225d929.tar.gz
drakx-backup-do-not-use-69ef6fc24e26ec053d86c8f080822408a225d929.tar.bz2
drakx-backup-do-not-use-69ef6fc24e26ec053d86c8f080822408a225d929.tar.xz
drakx-backup-do-not-use-69ef6fc24e26ec053d86c8f080822408a225d929.zip
- install_steps_gtk.pm (launchX) : create /var/log, if not existent, for
XFree86.log
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm3
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",