summaryrefslogtreecommitdiffstats
path: root/abs/core/iputils/iputils.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:45:11 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:45:11 (GMT)
commit679e855206798435f8b168db6426e283e1f70a12 (patch)
treedbf18b94a3b97b482e3d102dd89c981e878dcfd8 /abs/core/iputils/iputils.install
parenteb759090b560237861c2c8a351f989fc7bb92a39 (diff)
downloadlinhes_pkgbuild-679e855206798435f8b168db6426e283e1f70a12.zip
linhes_pkgbuild-679e855206798435f8b168db6426e283e1f70a12.tar.gz
linhes_pkgbuild-679e855206798435f8b168db6426e283e1f70a12.tar.bz2
iputils 20101006
Diffstat (limited to 'abs/core/iputils/iputils.install')
-rw-r--r--abs/core/iputils/iputils.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/iputils/iputils.install b/abs/core/iputils/iputils.install
new file mode 100644
index 0000000..2481fb3
--- /dev/null
+++ b/abs/core/iputils/iputils.install
@@ -0,0 +1,11 @@
+post_install() {
+ setcap cap_net_raw=ep usr/bin/ping
+ setcap cap_net_raw=ep usr/bin/ping6
+ echo " >> Traceroute is now provided by core/traceroute"
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+# vim:set ts=2 sw=2 et: