[arch-commits] Commit in wireshark/trunk (wireshark.install)
Andrea Scarpino
andrea at archlinux.org
Mon Apr 18 11:39:06 UTC 2011
Date: Monday, April 18, 2011 @ 07:39:06
Author: andrea
Revision: 120021
do not display the note on every update
Modified:
wireshark/trunk/wireshark.install
-------------------+
wireshark.install | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Modified: wireshark.install
===================================================================
--- wireshark.install 2011-04-18 11:18:37 UTC (rev 120020)
+++ wireshark.install 2011-04-18 11:39:06 UTC (rev 120021)
@@ -6,7 +6,9 @@
}
post_upgrade() {
- post_install $1
+ getent group wireshark >/dev/null 2>&1 || usr/sbin/groupadd -g 150 wireshark &>/dev/null
+
+ setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
}
post_remove() {
More information about the arch-commits
mailing list