summaryrefslogtreecommitdiff
path: root/misc/spotlighter/doinst.sh
diff options
context:
space:
mode:
authorGeoff Ritter <geoff dot ritter at gmail dot com>2011-03-05 09:38:47 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-03-05 09:38:47 -0300
commite6655a28afc2261749cdf9e80163881e522315db (patch)
treef4d7b3de46f52be8f9598d3f58108496e84e37f0 /misc/spotlighter/doinst.sh
parentd08bdbcca6f491f2d511f5225ab6b76cfa940ea5 (diff)
downloadslackbuilds-e6655a28afc2261749cdf9e80163881e522315db.tar.gz
misc/spotlighter: Added (show a spot light on the desktop)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'misc/spotlighter/doinst.sh')
-rw-r--r--misc/spotlighter/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/spotlighter/doinst.sh b/misc/spotlighter/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/misc/spotlighter/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
+