From 8108c398f6ac5cb374e8bb8825efcc06f149fa6e Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 25 Oct 2006 03:08:52 +0000 Subject: Make the binary target in debian/rules idempotent By cp'ing instead of mv'ing ping6. --- debian/changelog | 2 ++ debian/rules | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 2834984..674ad68 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,8 @@ inetutils (2:1.5.dfsg.1-1) UNRELEASED; urgency=low * Disable syslogd forwarding by default, which was enabling inet connections. * Fix Jeff Bailey's email address. + * Make the binary target in debian/rules idempotent by cp'ing instead of + mv'ing ping6. -- Guillem Jover Thu, 5 Oct 2006 01:02:39 +0300 diff --git a/debian/rules b/debian/rules index 9407f41..d77ebc9 100755 --- a/debian/rules +++ b/debian/rules @@ -118,7 +118,7 @@ binary-arch: install dh_install -a --sourcedir=$(D) # Install ping6 only if built if [ -x $(D)/usr/bin/ping6 ]; then \ - mv $(D)/usr/bin/ping6 \ + cp $(D)/usr/bin/ping6 \ $(CURDIR)/debian/inetutils-ping/bin/; \ fi # Install the syslogd default file -- cgit v1.2.3