summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 3c0e91f3..bbfa8183 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -251,7 +251,7 @@ sub install {
my @pkgs = grep { -e "$cachedir/$_" } map { $_->filename } @trans_pkgs;
$urpm->{log}(N("removing installed rpms (%s) from %s", join(' ', @pkgs), $cachedir));
foreach (@pkgs) {
- unlink "$cachedir/$_ " or $urpm->{fatal}(1, N("removing %s failed: %s", $_, $!));
+ unlink "$cachedir/$_" or $urpm->{fatal}(1, N("removing %s failed: %s", $_, $!));
}
}