aboutsummaryrefslogtreecommitdiff
path: root/misc/rsibreak
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-09 18:24:05 +0700
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-09 20:18:25 +0000
commita37898b92a97ed29c2c8df01e9051b4bee975300 (patch)
tree0549115c7a60f6ddbc1fdb671cc704d5dfeba87f /misc/rsibreak
parentbf7bcf3d4bb191d95a758394cea0f4f2c0f186bc (diff)
misc/rsibreak: Update doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/rsibreak')
-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