summaryrefslogtreecommitdiff
path: root/audio/hydrogen/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/hydrogen/doinst.sh')
-rw-r--r--audio/hydrogen/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/hydrogen/doinst.sh b/audio/hydrogen/doinst.sh
index 124fa3f186..4869d510e3 100644
--- a/audio/hydrogen/doinst.sh
+++ b/audio/hydrogen/doinst.sh
@@ -8,3 +8,7 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
fi
+if [ -x /sbin/setcap ]; then
+ /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/hydrogen
+fi
+