diff options
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"); } } |