summarylogtreecommitdiffstats
path: root/badtouch.install
diff options
context:
space:
mode:
authorkpcyrd2018-05-01 17:59:32 +0200
committerkpcyrd2018-05-01 17:59:32 +0200
commitfc90cffea7ec1706170bb40d3a6bb48afebd8cdb (patch)
treeeddb6dd6d3e62d1c064e00e05716981181275665 /badtouch.install
parent83f400c3be8b2a90be7be90205c0bad6423db76a (diff)
downloadaur-fc90cffea7ec1706170bb40d3a6bb48afebd8cdb.tar.gz
cap_sys_resource=+ep
Diffstat (limited to 'badtouch.install')
-rw-r--r--badtouch.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/badtouch.install b/badtouch.install
new file mode 100644
index 000000000000..72fc5cd3d7f8
--- /dev/null
+++ b/badtouch.install
@@ -0,0 +1,9 @@
+# vim: ft=sh ts=4 et
+
+post_install() {
+ setcap cap_sys_resource=+ep /usr/bin/badtouch
+}
+
+post_upgrade() {
+ post_install
+}