From 737e273780330f33ae4d9728639d256ba738bbe1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 23 Aug 2007 13:33:58 +0000 Subject: nicer debug message, esp. remove eid= which is the same as id= --- urpm/install.pm | 5 +++-- 1 file 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->{$_})); } -- cgit v1.2.1