summaryrefslogtreecommitdiff
path: root/audio/sooperlooper/setcap.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-12-29 08:22:04 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-29 08:22:22 +0100
commit25d18eb252b39987de0c9f0009fc202c4046819c (patch)
tree80bf1ac3e34da6b6faa2af2f12e85a11ec6ebfac /audio/sooperlooper/setcap.sh
parent5d79504e6d6a7f51079edaa8fa80a7b21515097b (diff)
downloadslackbuilds-25d18eb252b39987de0c9f0009fc202c4046819c.tar.gz
audio/sooperlooper: Updated for version 1.6.18.
Added license and capability support Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/sooperlooper/setcap.sh')
-rw-r--r--audio/sooperlooper/setcap.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/sooperlooper/setcap.sh b/audio/sooperlooper/setcap.sh
new file mode 100644
index 0000000000..6734d2b86f
--- /dev/null
+++ b/audio/sooperlooper/setcap.sh
@@ -0,0 +1,5 @@
+if [ -x /sbin/setcap ]; then
+ for i in slgui slregister slconsole sooperlooper; do
+ /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$i
+ done
+fi