makefile: don’t fail if setcap is unsuccessful

This commit is contained in:
Michael Stapelberg 2010-04-06 14:39:16 +02:00
parent 8ddab6fe05
commit 7665643894

View File

@ -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