summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-28 14:34:05 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-28 14:34:05 +0000
commit5f893ef5b2f161876a34cf64f5afbf186f62248d (patch)
treeb3b60b69e2e7858ddb477f763ee2468e0d90a1d0
parent6f8e2a7729983e82db14d655e867b0836c459e62 (diff)
downloadurpmi-5f893ef5b2f161876a34cf64f5afbf186f62248d.tar
urpmi-5f893ef5b2f161876a34cf64f5afbf186f62248d.tar.gz
urpmi-5f893ef5b2f161876a34cf64f5afbf186f62248d.tar.bz2
urpmi-5f893ef5b2f161876a34cf64f5afbf186f62248d.tar.xz
urpmi-5f893ef5b2f161876a34cf64f5afbf186f62248d.zip
fixed typo.
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index a7397d0d..3176013d 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1171,10 +1171,10 @@ sub update_media {
$urpm->{log}(_("copying source hdlist (or synthesis) of \"%s\"...", $medium->{name}));
$options{callback} && $options{callback}('copy', $medium->{name});
if (system("cp", "-pR", $with_hdlist_dir, "$urpm->{cachedir}/partial/$medium->{hdlist}")) {
- $options{callback} && $options{callback}('done', $medium->{name});
+ $options{callback} && $options{callback}('failed', $medium->{name});
$urpm->{log}(_("...copying failed"))
} else {
- $options{callback} && $options{callback}('failed', $medium->{name});
+ $options{callback} && $options{callback}('done', $medium->{name});
$urpm->{log}(_("...copying done"));
}