slackbuilds_ponce/audio/jack-tools/setcap.sh
B. Watson a526051c16
audio/jack-tools: Updated for version 20210917_ab297f4.
Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-12-04 10:09:05 +07:00

9 lines
357 B
Bash

# 20211128 bkw: lxvst-query doesn't need capabilities.
if [ -x /sbin/setcap ]; then
for i in rju-data rju-dl rju-level rju-osc rju-play rju-plumbing rju-record rju-scope rju-transport rju-udp
do
/sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$i
done
[ -x usr/bin/rju-lxvst ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/rju-lxvst
fi