summaryrefslogtreecommitdiff
path: root/community/i3status/i3status.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/i3status/i3status.install')
-rw-r--r--community/i3status/i3status.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/i3status/i3status.install b/community/i3status/i3status.install
new file mode 100644
index 000000000..e86d21b80
--- /dev/null
+++ b/community/i3status/i3status.install
@@ -0,0 +1,9 @@
+post_install() {
+ setcap 'CAP_NET_ADMIN=ep' /usr/bin/i3status
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et: