aboutsummaryrefslogtreecommitdiff
path: root/graphics/shutter/doinst.sh
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2010-10-17 18:33:19 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-10-17 18:33:19 -0500
commite676c9a31efaa3a73f40033c1db300da37be230c (patch)
tree0ec856a54b147c15376a34a18aae7b3c246080a6 /graphics/shutter/doinst.sh
parent2dd273581975e493a179bf58f1ca76b37d230610 (diff)
graphics/shutter: Added (feature-rich screenshot program)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/shutter/doinst.sh')
-rw-r--r--graphics/shutter/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/shutter/doinst.sh b/graphics/shutter/doinst.sh
new file mode 100644
index 0000000000000..052b9667ff20c
--- /dev/null
+++ b/graphics/shutter/doinst.sh
@@ -0,0 +1,14 @@
+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
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+