From e87d2585df0779baa704dce60ee18cd8708b59a5 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 29 Sep 2004 17:31:13 +0000 Subject: Only install ping6 on IPv6 enabled systems --- debian/rules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 8d5a927..682ccd2 100755 --- a/debian/rules +++ b/debian/rules @@ -45,10 +45,10 @@ endif install/inetutils-ping :: mkdir debian/tmp/bin mv debian/tmp/usr/bin/ping debian/tmp/bin/ -# XXX: This should be removed once the Hurd has IPv6 support -ifneq ($(DEB_HOST_GNU_SYSTEM),gnu) - mv debian/tmp/usr/bin/ping6 debian/tmp/bin/ -endif + if [ -x $(CURDIR)/debian/tmp/usr/bin/ping6 ]; then \ + mv $(CURDIR)/debian/tmp/usr/bin/ping6 \ + $(CURDIR)/debian/$(cdbs_curpkg)/bin/ \ + fi # Rename ifconfig to not break existing systems using net-tools install/inetutils-tools :: -- cgit v1.2.3