aboutsummaryrefslogtreecommitdiff
path: root/meson_post_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meson_post_install.sh')
-rwxr-xr-xmeson_post_install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_post_install.sh b/meson_post_install.sh
new file mode 100755
index 0000000..ad57569
--- /dev/null
+++ b/meson_post_install.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+/usr/sbin/setcap cap_sys_admin+ep ${MESON_INSTALL_DESTDIR_PREFIX}/bin/gsr-global-hotkeys \
+ || echo "\n!!! Please re-run install as root\n" \ No newline at end of file