summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-04-22 22:43:43 +0200
committer Eric Hameleers <alien@slackware.com>2016-04-22 22:43:43 +0200
commit836435060f12f35fc228852bc2fc6819f62be7f7 (patch)
tree67ca9b0269d0aa12287976c58d3f28e600a46bf2
parent960de8bcc6e209ae35c97597dfbc96761b501b74 (diff)
downloadliveslak-836435060f12f35fc228852bc2fc6819f62be7f7.tar.gz
liveslak-836435060f12f35fc228852bc2fc6819f62be7f7.tar.xz
Do not bail out if there are no X apps in the ISO.
Diffstat (limited to '')
-rwxr-xr-xmake_slackware_live.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 42aac0a..42cf9f4 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1518,7 +1518,9 @@ if [ -x /usr/bin/glib-compile-schemas ]; then
fi
# Delete unwanted cache files:
-find usr/share/icons -name icon-theme.cache -exec rm "{}" \;
+if [ -d usr/share/icons ]; then
+ find usr/share/icons -name icon-theme.cache -exec rm "{}" \;
+fi
EOCR
# Disable above commands in rc.M and rc.modules: