summaryrefslogtreecommitdiff
path: root/multimedia/flashplayer-plugin/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-07-22 16:11:45 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-07-22 16:11:45 -0500
commit3dc0befb4fc92483766730d6237b146ad5274177 (patch)
tree76447014ee1cf39eb8d2aeee2baba0601d221a68 /multimedia/flashplayer-plugin/doinst.sh
parente5092973608d336cd28c0a234d4058fae0aae96f (diff)
downloadslackbuilds-3dc0befb4fc92483766730d6237b146ad5274177.tar.gz
multimedia/flashplayer-plugin: Renamed from flash-player-plugin
Thanks to Ricardo Felipe Klein for the suggestion. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/flashplayer-plugin/doinst.sh')
-rw-r--r--multimedia/flashplayer-plugin/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/flashplayer-plugin/doinst.sh b/multimedia/flashplayer-plugin/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/multimedia/flashplayer-plugin/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
+