aboutsummaryrefslogtreecommitdiff
path: root/misc/viking/doinst.sh
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave at gmail {dot} com>2010-05-13 00:59:33 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:59:33 +0200
commitef84c1c91075c73a5b4be3716503c8a046f6aaba (patch)
tree1e524f8d7ca6457c9be90d1b1653054d33e3ccca /misc/viking/doinst.sh
parentea342ac201a782628df0ccd20a77b47f354b872e (diff)
misc/viking: Added to 13.0 repository
Diffstat (limited to 'misc/viking/doinst.sh')
-rw-r--r--misc/viking/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/viking/doinst.sh b/misc/viking/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/misc/viking/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
+