summaryrefslogtreecommitdiff
path: root/core/iputils/iputils.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-27 11:00:34 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-27 11:00:34 -0300
commit6fa19b4570c3cef91cf336bbefd6b9583e89ecce (patch)
tree62facaa87cc6fd640437cc18226ca853496a4a02 /core/iputils/iputils.install
parent57fc26a638bd3856b660dd8839999d5bab9bfeac (diff)
parent5aee7ab49f65d6fee1182bfcacf92192ad36c4af (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/moreutils/PKGBUILD core/iputils/PKGBUILD libre/texlive-bin-libre/PKGBUILD testing/openldap/PKGBUILD
Diffstat (limited to 'core/iputils/iputils.install')
-rw-r--r--core/iputils/iputils.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/iputils/iputils.install b/core/iputils/iputils.install
new file mode 100644
index 000000000..2481fb396
--- /dev/null
+++ b/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: