From 836435060f12f35fc228852bc2fc6819f62be7f7 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 22 Apr 2016 22:43:43 +0200 Subject: Do not bail out if there are no X apps in the ISO. --- make_slackware_live.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'make_slackware_live.sh') 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: -- cgit v1.2.3