summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2010-04-06 14:39:16 +0200
committerMichael Stapelberg <michael@stapelberg.de>2010-04-06 14:39:16 +0200
commit7665643894cf20108ba01b7fed6bc9f2fe452668 (patch)
treea01401eb9c62541bbc1125ef40eed04eb13b56da /Makefile
parent8ddab6fe0568fc9209bdefa44c2ab9b253b87405 (diff)
makefile: don’t fail if setcap is unsuccessful
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 883bcdd..9f61eef 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ install:
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
+ (which setcap && setcap cap_net_admin=ep $(DESTDIR)/usr/bin/i3status) || true
install -m 644 i3status.conf $(DESTDIR)/etc/i3status.conf
install -m 644 man/i3status.1 $(DESTDIR)/usr/share/man/man1