aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/rsibreak/doinst.sh3
-rw-r--r--misc/rsibreak/rsibreak.SlackBuild7
2 files changed, 4 insertions, 6 deletions
diff --git a/misc/rsibreak/doinst.sh b/misc/rsibreak/doinst.sh
index 1f8ff67dedb29..65c7e2eeb9aa5 100644
--- a/misc/rsibreak/doinst.sh
+++ b/misc/rsibreak/doinst.sh
@@ -4,7 +4,6 @@ fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-
diff --git a/misc/rsibreak/rsibreak.SlackBuild b/misc/rsibreak/rsibreak.SlackBuild
index 541eea030db94..9430da0c5b673 100644
--- a/misc/rsibreak/rsibreak.SlackBuild
+++ b/misc/rsibreak/rsibreak.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for rsibreak
# Originally written by Roberto Neri <rneri@libero.it>
-# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -68,7 +68,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -88,8 +88,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS ChangeLog COPYING COPYING.DOC HACKING INSTALL NEWS TODO \
+cp -a AUTHORS ChangeLog COPYING COPYING.DOC HACKING INSTALL NEWS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild