summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2010-04-01 20:34:03 +0200
committerMichael Stapelberg <michael@stapelberg.de>2010-04-01 20:34:03 +0200
commitd31f2ce0bec276d54c2a2cfe70c2764aee4503d8 (patch)
treeff6803ccf3cf391e775ec1c1ab9725969010e8d5 /Makefile
parent21dcff25f5f610dfb6bcb3dff96a92cfa8389672 (diff)
install i3status with cap_net_admin capability, document it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e84d0cd..883bcdd 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,8 @@ install:
install -m 755 -d $(DESTDIR)/etc
install -m 755 -d $(DESTDIR)/usr/share/man/man1
install -m 755 i3status $(DESTDIR)/usr/bin/i3status
+ # Allow network configuration for getting the link speed
+ which setcap && setcap cap_net_admin=ep $(DESTDIR)/usr/bin/i3status
install -m 644 i3status.conf $(DESTDIR)/etc/i3status.conf
install -m 644 man/i3status.1 $(DESTDIR)/usr/share/man/man1