diff options
author | joey <joey> | 2003-08-19 23:52:24 +0000 |
---|---|---|
committer | joey <joey> | 2003-08-19 23:52:24 +0000 |
commit | d1f803bc312f356ac639c06958f5009acf4114d2 (patch) | |
tree | 3ee28d38d3869dc001abc6a18599a5cdb4392725 /dh_link | |
parent | 1f56418d00a8f406f53b06f3f0b1566e56c1feca (diff) | |
download | debhelper-d1f803bc312f356ac639c06958f5009acf4114d2.tar.gz |
r1592: * dh_link: rm -f every time, ln -f is not good enough if the link targetversion_4.1.66
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_link')
-rwxr-xr-x | dh_link | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -119,7 +119,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) { push @links, "$dir/$target"; } push @links, "$dir/$_"; - doit("rm","-f",$_); }, $tmp); @@ -164,7 +163,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { $src="/$src"; } - doit("ln","-sf",$src,"$tmp/$dest"); + doit("rm", "-f", "$tmp/$dest"); + doit("ln","-sf", $src, "$tmp/$dest"); } } |