aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gpodder/doinst.sh
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-12 17:42:37 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:42:37 +0200
commit8b4164df1968455684dd4f5d57f6e854950277c2 (patch)
treee80bf3472db6aef799f7cdd901fabb2036d6d88a /multimedia/gpodder/doinst.sh
parent90f7d258c831c0bc8025938e8bf19c8a9ddb304f (diff)
multimedia/gpodder: Updated for version 0.15.2
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 d09159e77245..3e5691a052b5 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