summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/XFdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/XFdrake b/perl-install/standalone/XFdrake
index 22e14ccbc..a7e3c3249 100755
--- a/perl-install/standalone/XFdrake
+++ b/perl-install/standalone/XFdrake
@@ -42,7 +42,7 @@ $i->{skiptest} = /-skiptest/;
my $in = interactive->vnew('su');
my $f = "/usr/X11R6/lib/X11/Cards";
-if (! -e $f) standalone::pkgs_install('XFree86', 'XFree86-75dpi-fonts');
+standalone::pkgs_install('XFree86', 'XFree86-75dpi-fonts') if (! -e $f);
-e $f or die "install XFree86 first!\n";
`pidof xfs` > 0 or system("/etc/rc.d/init.d/xfs start");