summaryrefslogtreecommitdiff
path: root/audio/easymp3gain/doinst.sh
diff options
context:
space:
mode:
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 0000000000..f556a73174
--- /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
+