diff options
author | Francois Pons <fpons@mandriva.com> | 2000-01-07 21:11:15 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-01-07 21:11:15 +0000 |
commit | bcdadca806b3b301a69d1ff6f69b52fe156b1bb4 (patch) | |
tree | f1ce98f6833a0e8ceed3acc41bea6af3d68f738f /perl-install/Xconfigurator.pm | |
parent | 5a83b0a889e7bb5e517d691953cd34beedfc8ed3 (diff) | |
download | drakx-bcdadca806b3b301a69d1ff6f69b52fe156b1bb4.tar drakx-bcdadca806b3b301a69d1ff6f69b52fe156b1bb4.tar.gz drakx-bcdadca806b3b301a69d1ff6f69b52fe156b1bb4.tar.bz2 drakx-bcdadca806b3b301a69d1ff6f69b52fe156b1bb4.tar.xz drakx-bcdadca806b3b301a69d1ff6f69b52fe156b1bb4.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r-- | perl-install/Xconfigurator.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index 43b617965..9db1dcdd5 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -299,7 +299,12 @@ sub testFinalConfig($;$$) { #- create a link from the non-prefixed /tmp/.X11-unix/X9 to the prefixed one #- that way, you can talk to :9 without doing a chroot - symlinkf "$prefix/tmp/.X11-unix/X9", "/tmp/.X11-unix/X9" if $prefix; + #- but take care of non X11 install :-) + if (-d "/tmp/.X11-unix") { + symlinkf "$prefix/tmp/.X11-unix/X9", "/tmp/.X11-unix/X9" if $prefix; + } else { + symlinkf "$prefix/tmp/.X11-unix", "/tmp/.X11-unix" if $prefix; + } #- restart_xfs; my $f_err = "$prefix/tmp/Xoutput"; |