From 438342a7483830afb42cb93b07991d0ac4776ce9 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 16 Dec 2015 12:14:18 +0100 Subject: 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. --- make_slackware_live.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'make_slackware_live.sh') 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* -- cgit v1.2.3