aboutsummaryrefslogtreecommitdiff
path: root/multimedia/tovid/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-06-19 17:46:33 +0200
committerErik Hanson <erik@slackbuilds.org>2010-06-20 15:19:09 -0500
commiteeb98644519804453971c097fe9cf7a92848e577 (patch)
treee43bc9d153297fe3236aaa68991084a97eabd98d /multimedia/tovid/doinst.sh
parent59e0bcf46fea212a40f3e06cd51c6859e1119800 (diff)
multimedia/tovid: Added doinst.sh to update icon and desktop caches
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'multimedia/tovid/doinst.sh')
-rw-r--r--multimedia/tovid/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/tovid/doinst.sh b/multimedia/tovid/doinst.sh
new file mode 100644
index 000000000000..1f8ff67dedb2
--- /dev/null
+++ b/multimedia/tovid/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
+