summaryrefslogtreecommitdiff
path: root/desktop/xfce4-screenshooter/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-12 23:28:30 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 23:28:30 +0200
commit5355b4ed90392a832edd74f50360121bdc5f709a (patch)
treee9465f6a75787a31a11ac177b21087f586ec09f4 /desktop/xfce4-screenshooter/doinst.sh
parent31ac8f0268a3de6c4d1321295fce576e8c9acff0 (diff)
downloadslackbuilds-5355b4ed90392a832edd74f50360121bdc5f709a.tar.gz
desktop/xfce4-screenshooter: Added to 12.2 repository
Diffstat (limited to 'desktop/xfce4-screenshooter/doinst.sh')
-rw-r--r--desktop/xfce4-screenshooter/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop/xfce4-screenshooter/doinst.sh b/desktop/xfce4-screenshooter/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/desktop/xfce4-screenshooter/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
+