postinst: nuke the real user mentioned useless warn()

svn path=/dists/trunk/linux-2.6/; revision=10529
This commit is contained in:
Maximilian Attems 2008-02-12 22:55:06 +00:00
parent 99cc5aa0df
commit 6f51a74eae
1 changed files with 0 additions and 5 deletions

View File

@ -279,11 +279,6 @@ sub fix_source_link {
# Determine what the real file name is, and test that for existence
$real_target = abs_path($source_target) if defined($source_target);
if (!defined($source_target) || ! -d "$real_target") { # Danglink link
warn qq(
Hmm. The package shipped with a symbolic link $modules_base/$version/source
However, I can not read the target: $!
Therefore, I am deleting $modules_base/$version/source\n
);
my $num = unlink "$modules_base/$version/source";
if ($num != 1) {
warn "error unlinking $modules_base/$version/source";