debian: add postinst file which issues setcap

This commit is contained in:
Michael Stapelberg 2010-04-06 14:44:53 +02:00
parent 7665643894
commit d60fc3fa43

6
debian/i3status.postinst vendored Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# Allow users to get the speed of ethernet interfaces. This is not a security
# issue as i3status only queries the speed, it does not change any
# configuration.
setcap cap_net_admin=ep /usr/bin/i3status || true