aboutsummaryrefslogtreecommitdiff
path: root/audio/easymp3gain/doinst.sh
diff options
context:
space:
mode:
authorChernov V. V <manbornofwoman@gmail.com>2012-08-13 02:04:47 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-13 02:04:47 -0500
commit2ed9e80c54030b811cb2c43d5a14f59a9a0db880 (patch)
tree3c8408cf56349ed012526f6df54ab044ef8ff49f /audio/easymp3gain/doinst.sh
parent02a5502f8570edb5b71a568488eaf9e00603ecba (diff)
audio/easymp3gain: Added (GUI for mp3gain, aacgain, and vorbisgain)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/easymp3gain/doinst.sh')
-rw-r--r--audio/easymp3gain/doinst.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/easymp3gain/doinst.sh b/audio/easymp3gain/doinst.sh
new file mode 100644
index 000000000000..f556a731748a
--- /dev/null
+++ b/audio/easymp3gain/doinst.sh
@@ -0,0 +1,12 @@
+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/gtk-update-icon-cache ]; then
+ for theme in gnome locolor hicolor ; do
+ if [ -e usr/share/icons/$theme/icon-theme.cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/$theme >/dev/null 2>&1
+ fi
+ done
+fi
+