summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_slackware_live.sh')
-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: