will make dh_perl get deps right for packages that have perl modules and
XS in them.
}
if (length $line) {
- complex_doit("echo '${substvar}=$line' >> $substvarfile");
+ complex_doit("(grep -v ${substvar} $substvarfile 2>/dev/null; echo '${substvar}=$line') > $substvarfile.new");
+ doit("mv", "$substvarfile.new", $substvarfile);
}
}
+debhelper (4.1.11) unstable; urgency=low
+
+ * Make addsubstvars remove old instances of line before adding new. This
+ will make dh_perl get deps right for packages that have perl modules and
+ XS in them.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 22 Sep 2002 11:27:08 -0400
+
debhelper (4.1.10) unstable; urgency=low
* Depend on coreutils | fileutils. Closes: #161452