summaryrefslogtreecommitdiff
path: root/audio/muse/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-03-02 23:25:12 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-03-02 23:25:12 -0600
commita6d01c2252608b2fc7f20527765dcbb1322938df (patch)
tree7d828776edb6d4b108c5f3739637aed3376c8379 /audio/muse/doinst.sh
parent274c69f96c20cb0078bdc5509f2ebafb4d97a8ce (diff)
downloadslackbuilds-a6d01c2252608b2fc7f20527765dcbb1322938df.tar.gz
audio/muse: Kill badness in doinst.sh
http://lists.slackbuilds.org/pipermail/slackbuilds-users/2013-March/010217.html Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/muse/doinst.sh')
-rw-r--r--audio/muse/doinst.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/audio/muse/doinst.sh b/audio/muse/doinst.sh
index 333d5e3919..725ecf9072 100644
--- a/audio/muse/doinst.sh
+++ b/audio/muse/doinst.sh
@@ -1,10 +1,4 @@
-setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/muse
-
-if grep GROUP\=\"audio\" /lib/udev/rules.d/65-permissions.rules > /dev/null; then
- echo > /dev/null
-else
- sed '/^KERNEL=="rtc\|rtc0"/s!$! , GROUP="audio"!' -i /lib/udev/rules.d/65-permissions.rules
-fi
+setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/muse 2>/dev/null
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1