slackbuilds_ponce/audio/ngjackspa/setcap.sh
B. Watson 8f537fb3ee audio/ngjackspa: Added (JACK host for LADSPA plugins).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-02-18 14:59:56 -06:00

5 lines
194 B
Bash

if [ -x /sbin/setcap ]; then
for setcapfile in gjackspa jackspa-cli njackspa qjackspa; do
[ -e usr/bin/$setcapfile ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$setcapfile
done
fi