summaryrefslogtreecommitdiffstats
path: root/audio/easytag/doinst.sh
diff options
context:
space:
mode:
author LEVAI Daniel2014-01-04 18:20:59 +0100
committer Erik Hanson2014-01-04 18:20:59 +0100
commite245e79da68b25b5c3064df8a35c2c0374678e36 (patch)
tree43a33ec20635e93c9ab999ecaef434f1614c9a82 /audio/easytag/doinst.sh
parent98652cd38d832c1c74ec9f2b21a90f13dc717066 (diff)
downloadslackbuilds-e245e79da68b25b5c3064df8a35c2c0374678e36.tar.gz
audio/easytag: Updated for vesion 2.1.9.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'audio/easytag/doinst.sh')
-rw-r--r--audio/easytag/doinst.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/audio/easytag/doinst.sh b/audio/easytag/doinst.sh
index 3c42a48a14..9424ce43ff 100644
--- a/audio/easytag/doinst.sh
+++ b/audio/easytag/doinst.sh
@@ -1,4 +1,13 @@
-if [ -x usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+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