[arch-commits] Commit in iputils/trunk (PKGBUILD iputils.install)
Stéphane Gaudreault
stephane at archlinux.org
Mon Oct 1 23:45:44 UTC 2012
Date: Monday, October 1, 2012 @ 19:45:44
Author: stephane
Revision: 167411
upgpkg: iputils 20101006-6
only print install message once (fix FS#31757)
Modified:
iputils/trunk/PKGBUILD
iputils/trunk/iputils.install
-----------------+
PKGBUILD | 2 +-
iputils.install | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-01 23:41:01 UTC (rev 167410)
+++ PKGBUILD 2012-10-01 23:45:44 UTC (rev 167411)
@@ -5,7 +5,7 @@
pkgname=iputils
pkgver=20101006
-pkgrel=5
+pkgrel=6
pkgdesc="IP Configuration Utilities (and Ping)"
arch=('i686' 'x86_64')
license=('GPL')
Modified: iputils.install
===================================================================
--- iputils.install 2012-10-01 23:41:01 UTC (rev 167410)
+++ iputils.install 2012-10-01 23:45:44 UTC (rev 167411)
@@ -1,7 +1,10 @@
post_install() {
setcap cap_net_raw=ep usr/bin/ping 2>/dev/null || chmod +s usr/bin/ping
setcap cap_net_raw=ep usr/bin/ping6 2>/dev/null || chmod +s usr/bin/ping6
- echo " >> Traceroute is now provided by core/traceroute"
+
+ if [ "$(vercmp $2 20101006-3)" -le 0 ]; then
+ echo " >> Traceroute is now provided by core/traceroute"
+ fi
}
post_upgrade() {
More information about the arch-commits
mailing list