summaryrefslogtreecommitdiff
path: root/dh_clean
diff options
context:
space:
mode:
authorjoey <joey>2003-08-19 23:52:24 +0000
committerjoey <joey>2003-08-19 23:52:24 +0000
commitd1f803bc312f356ac639c06958f5009acf4114d2 (patch)
tree3ee28d38d3869dc001abc6a18599a5cdb4392725 /dh_clean
parent1f56418d00a8f406f53b06f3f0b1566e56c1feca (diff)
r1592: * dh_link: rm -f every time, ln -f is not good enough if the link target
is an existing directory (aka, ln sucks). Closes: #206245 * dh_clean: honor -X for debian/tmp removal. Closes: #199952 more or less.
Diffstat (limited to 'dh_clean')
-rwxr-xr-xdh_clean3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_clean b/dh_clean
index d4c5943..9b5885f 100755
--- a/dh_clean
+++ b/dh_clean
@@ -106,7 +106,8 @@ if (! $dh{D_FLAG}) {
unless excludefile("autom4te.cache");
}
-doit('rm', '-rf', 'debian/tmp') if -x 'debian/tmp' && ! compat(1);
+doit('rm', '-rf', 'debian/tmp') if -x 'debian/tmp' && ! compat(1) &&
+ ! excludefile("debian/tmp");
=head1 SEE ALSO