aboutsummaryrefslogtreecommitdiff
path: root/network/deluge/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/deluge/doinst.sh')
-rw-r--r--network/deluge/doinst.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/network/deluge/doinst.sh b/network/deluge/doinst.sh
index a2088524c338e..9830478e8cc75 100644
--- a/network/deluge/doinst.sh
+++ b/network/deluge/doinst.sh
@@ -1,13 +1,14 @@
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/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/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