slackbuilds_ponce/audio/jalv/setcap.sh
B. Watson 5bc3c29c10 audio/jalv: Added (host for LV2 plugins).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-02-25 09:10:49 +07:00

5 lines
181 B
Bash

if [ -x /sbin/setcap ]; then
for BIN in jalv jalv.gtk jalv.gtk3 jalv.gtkmm jalv.qt; do
[ -e usr/bin/$BIN ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$BIN
done
fi