summaryrefslogtreecommitdiff
path: root/audio/jalv/setcap.sh
blob: 20afc3bb7cf23d0c8a653e6a4ff27f595c143711 (plain)
1
2
3
4
5
if [ -x /sbin/setcap ]; then
  for BIN in jalv jalv.gtk jalv.gtk3 jalv.gtkmm jalv.qt jalv.qt5; do
    [ -e usr/bin/$BIN ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$BIN
  done
fi