summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-11-13 16:05:50 +0000
committerFrancois Pons <fpons@mandriva.com>2002-11-13 16:05:50 +0000
commit1de484399a7c30a9bbf05d786b0f44ff6e4dce27 (patch)
tree6eff84206ba4882e90461f2a1f4edb495439339a /urpm.pm
parent692ea46265fa09aded20387559dc86707697d2f5 (diff)
downloadurpmi-1de484399a7c30a9bbf05d786b0f44ff6e4dce27.tar
urpmi-1de484399a7c30a9bbf05d786b0f44ff6e4dce27.tar.gz
urpmi-1de484399a7c30a9bbf05d786b0f44ff6e4dce27.tar.bz2
urpmi-1de484399a7c30a9bbf05d786b0f44ff6e4dce27.tar.xz
urpmi-1de484399a7c30a9bbf05d786b0f44ff6e4dce27.zip
4.0-25mdk
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 772ada62..a2f2d204 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1054,7 +1054,7 @@ sub update_media {
"../synthesis.hdlist$suffix.cz", !$suffix ? ("../synthesis.hdlist1.cz") : (),
"../base/hdlist$suffix.cz", !$suffix ? ("../base/hdlist1.cz") : (),
) {
- $basename = (/^.*\/([^\/]*)$/ && $1) || $_;
+ $basename = (/^.*\/([^\/]*)$/ && $1) || $_ or next;
unlink "$urpm->{cachedir}/partial/$basename";
eval {