setcap.sh 190 B

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