diff options
author | Stylianos Tsampas <ztsampas@otenet.gr> | 2010-05-12 17:43:09 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:43:09 +0200 |
commit | b8acdcfadf3c3292de14e656f069bb7f2232aba0 (patch) | |
tree | a5e52ace8c0b15735149cf2f937ac411841ea31c /network/deluge/doinst.sh | |
parent | b818df306ed222706660e290e44dbdc3e57f343b (diff) |
network/deluge: Updated for version 1.1.0
Diffstat (limited to 'network/deluge/doinst.sh')
-rw-r--r-- | network/deluge/doinst.sh | 9 |
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 |