summaryrefslogtreecommitdiff
path: root/office/epdfview/doinst.sh
diff options
context:
space:
mode:
authorAndrew Brouwers <abrouwers@gmail.com>2010-05-13 00:39:06 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:39:06 +0200
commit1edb21cf2e74f0d36f5dc3dc1dc3eda532dc7c55 (patch)
tree50fe4a34a6cc9b2a4361a3c19c2d6143c84ec86e /office/epdfview/doinst.sh
parent8ddf68f35a7dc134d411775ab563e310cf092d07 (diff)
downloadslackbuilds-1edb21cf2e74f0d36f5dc3dc1dc3eda532dc7c55.tar.gz
office/epdfview: Updated for version 0.1.7
Diffstat (limited to 'office/epdfview/doinst.sh')
-rw-r--r--office/epdfview/doinst.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/office/epdfview/doinst.sh b/office/epdfview/doinst.sh
index f39d8d4dfa..1f8ff67ded 100644
--- a/office/epdfview/doinst.sh
+++ b/office/epdfview/doinst.sh
@@ -1,3 +1,10 @@
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 [ -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
+