summaryrefslogtreecommitdiffstats
path: root/handbrake/build/handbrake.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2009-09-21 10:58:06 +0000
committer Eric Hameleers <alien@slackware.com>2009-09-21 10:58:06 +0000
commit05992e48e61138d26ba557d92c05690286352c8f (patch)
tree2816a2ccee1cac984e655f74596ea781d2cecc1a /handbrake/build/handbrake.SlackBuild
parentcabdb770cc3099c388bf3c57ba9349f61ecf06d2 (diff)
downloadasb-05992e48e61138d26ba557d92c05690286352c8f.tar.gz
asb-05992e48e61138d26ba557d92c05690286352c8f.tar.xz
The icon cache file may not be there
Diffstat (limited to 'handbrake/build/handbrake.SlackBuild')
-rwxr-xr-xhandbrake/build/handbrake.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/handbrake/build/handbrake.SlackBuild b/handbrake/build/handbrake.SlackBuild
index 1ea77a72..683331b1 100755
--- a/handbrake/build/handbrake.SlackBuild
+++ b/handbrake/build/handbrake.SlackBuild
@@ -205,7 +205,8 @@ make 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
#install -m755 build/HandBrakeCLI $PKG/usr/bin
# Remove this cache file, it will get in our way:
-rm $PKG/usr/share/icons/hicolor/icon-theme.cache
+[ -f $PKG/usr/share/icons/hicolor/icon-theme.cache ] \
+ && rm -f $PKG/usr/share/icons/hicolor/icon-theme.cache
# Add this to the doinst.sh:
! [ -d $PKG/install ] && mkdir -p $PKG/install