aboutsummaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-12-16 12:14:18 +0100
committer Eric Hameleers <alien@slackware.com>2015-12-16 12:14:18 +0100
commit438342a7483830afb42cb93b07991d0ac4776ce9 (patch)
treef2877b350a63d9c300f0cab8d95e237f4e91cde8 /make_slackware_live.sh
parente4ead631392578122de4a403cc1d1b64aa8328d4 (diff)
downloadliveslak-438342a7483830afb42cb93b07991d0ac4776ce9.tar.gz
liveslak-438342a7483830afb42cb93b07991d0ac4776ce9.tar.xz
Packages with directories in /tmp will cause the script to abort during cleanup.
This will catch accidental source configuration issues, happens with KDE from time to time.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 0a062f8..3383f6f 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1108,6 +1108,8 @@ fi
EOT
# Clean out the unneeded stuff:
+# Note: this will fail when a directory is encountered. This failure points
+# to a packaging issue; find and fix the responsible package.
rm -f ${LIVE_ROOTDIR}/tmp/[A-Za-z]*
rm -f ${LIVE_ROOTDIR}/var/mail/*
rm -f ${LIVE_ROOTDIR}/root/.bash*