summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-23 13:33:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-23 13:33:58 +0000
commit737e273780330f33ae4d9728639d256ba738bbe1 (patch)
tree0539ec7255cce1318e0012899df68112c7a84a8b /urpm
parent84f1d57e6e1fc11b5f9232621fbf24059ca11739 (diff)
downloadurpmi-737e273780330f33ae4d9728639d256ba738bbe1.tar
urpmi-737e273780330f33ae4d9728639d256ba738bbe1.tar.gz
urpmi-737e273780330f33ae4d9728639d256ba738bbe1.tar.bz2
urpmi-737e273780330f33ae4d9728639d256ba738bbe1.tar.xz
urpmi-737e273780330f33ae4d9728639d256ba738bbe1.zip
nicer debug message,
esp. remove eid= which is the same as id=
Diffstat (limited to 'urpm')
-rw-r--r--urpm/install.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 7e68343d..f85dbde0 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -168,8 +168,9 @@ sub install {
$options{excludepath} ? (excludepath => [ split /,/, $options{excludepath} ]) : ()
)) {
$urpm->{debug} and $urpm->{debug}(
- N("adding package %s (id=%d, eid=%d, update=%d, file=%s)", scalar($pkg->fullname),
- $_, $pkg->id, $update, $mode->{$_}));
+ N("trans: scheduling package %s %s (id=%d, file=%s)",
+ $update ? 'update' : 'install',
+ scalar($pkg->fullname), $_, $mode->{$_}));
} else {
$urpm->{error}(N("unable to install package %s", $mode->{$_}));
}