summaryrefslogtreecommitdiff
path: root/network/remmina/doinst.sh
diff options
context:
space:
mode:
authorPhilip van der Hoeven <philip@vd-hoeven.nl>2015-02-20 09:37:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-20 09:37:45 +0700
commitdb2ba2f0b34a84949844e5f4e4fa7b97a6805ee4 (patch)
tree0653588f3c9ba3fee8d0eb2c3bcf8319a1b81dbb /network/remmina/doinst.sh
parenta58d1a343405ab3f092ea54ccdfe457b4ee8939e (diff)
downloadslackbuilds-db2ba2f0b34a84949844e5f4e4fa7b97a6805ee4.tar.gz
network/remmina: Updated for version 1.2.0-rcgit.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/remmina/doinst.sh')
-rw-r--r--network/remmina/doinst.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/network/remmina/doinst.sh b/network/remmina/doinst.sh
index 1d85d0e8d5..1f8ff67ded 100644
--- a/network/remmina/doinst.sh
+++ b/network/remmina/doinst.sh
@@ -1,9 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-if [ -x /usr/bin/gtk-update-icon-cache ] \
- && [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+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
+ fi
fi