summaryrefslogtreecommitdiff
path: root/office/evince/doinst.sh
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 01:00:31 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 01:00:31 +0200
commit058d1a6f460be9febfac1846021f74dc84d81d08 (patch)
treebaa094b596c93c88503cdba017b90dcd80b50d82 /office/evince/doinst.sh
parent4db9c3ab0a7f46674ba298caab2e8a125be539e4 (diff)
downloadslackbuilds-058d1a6f460be9febfac1846021f74dc84d81d08.tar.gz
office/evince: Added to 13.0 repository
Diffstat (limited to 'office/evince/doinst.sh')
-rw-r--r--office/evince/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/office/evince/doinst.sh b/office/evince/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/office/evince/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /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
+