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