summaryrefslogtreecommitdiff
path: root/audio/alsa-tools/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-05-13 11:07:00 -0500
committerErik Hanson <erik@slackbuilds.org>2012-05-14 13:13:58 -0500
commitc7c23a0899b7b9c8c4ef038e2850e685ab87aa3a (patch)
tree644e9f0b8bf75ad0d551584931ea01bd4ebd1800 /audio/alsa-tools/doinst.sh
parentc8230eb1f57955c9b43b1866822a5eff285a9c9e (diff)
downloadslackbuilds-c7c23a0899b7b9c8c4ef038e2850e685ab87aa3a.tar.gz
audio/alsa-tools: Added (tools and firmware for various soundcards)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/alsa-tools/doinst.sh')
-rw-r--r--audio/alsa-tools/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/alsa-tools/doinst.sh b/audio/alsa-tools/doinst.sh
new file mode 100644
index 0000000000..04211c800a
--- /dev/null
+++ b/audio/alsa-tools/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 /sbin/udevadm ]; then
+ /sbin/udevadm control --reload-rules
+fi
+