summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-02-03 13:01:06 +0100
committer Eric Hameleers <alien@slackware.com>2016-02-03 13:01:06 +0100
commit8523510525ef34fce5b07b0ab5e7226311c16fe6 (patch)
tree78daf74af567b06c5701244a10b959fd3baa2f4f
parent2708873d33d0aafca2c2ba956c7f2d19c807250d (diff)
downloadliveslak-8523510525ef34fce5b07b0ab5e7226311c16fe6.tar.gz
liveslak-8523510525ef34fce5b07b0ab5e7226311c16fe6.tar.xz
Do not run the risk of creating a dangling symlink.
Diffstat (limited to '')
-rwxr-xr-xmake_slackware_live.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index b48585d..b8c6665 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1157,7 +1157,7 @@ elif [ "$LIVEDE" = "MATE" ]; then
ln -sf xinitrc.mate-session ${LIVE_ROOTDIR}/etc/X11/xinit/xinitrc
elif [ "$LIVEDE" = "CINNAMON" ]; then
ln -sf xinitrc.cinnamon-session ${LIVE_ROOTDIR}/etc/X11/xinit/xinitrc
-else
+elif [ -f ${LIVE_ROOTDIR}/etc/X11/xinit/xinitrc.xfce ]; then
ln -sf xinitrc.xfce ${LIVE_ROOTDIR}/etc/X11/xinit/xinitrc
fi