summaryrefslogtreecommitdiff
path: root/multimedia/gpodder/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gpodder/doinst.sh')
-rw-r--r--multimedia/gpodder/doinst.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/gpodder/doinst.sh b/multimedia/gpodder/doinst.sh
index d09159e772..3e5691a052 100644
--- a/multimedia/gpodder/doinst.sh
+++ b/multimedia/gpodder/doinst.sh
@@ -1,6 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database -q usr/share/applications
+ /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
+
+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