summaryrefslogtreecommitdiff
path: root/misc/brewtarget/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2014-05-28 23:32:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-28 23:45:50 +0700
commit81efe6c63650341e1604ba158268b131e9801755 (patch)
treee948e799d1808af0ab760faad8ef91ba30ac71ca /misc/brewtarget/doinst.sh
parente727be292e20be277681673bbfeddaa7f9bf0a8e (diff)
downloadslackbuilds-81efe6c63650341e1604ba158268b131e9801755.tar.gz
misc/brewtarget: Added (free brewing software).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/brewtarget/doinst.sh')
-rw-r--r--misc/brewtarget/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/brewtarget/doinst.sh b/misc/brewtarget/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/misc/brewtarget/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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