From 84f1d57e6e1fc11b5f9232621fbf24059ca11739 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 23 Aug 2007 13:30:17 +0000 Subject: this is debug stuff, hide it from -v --- urpm/install.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'urpm/install.pm') diff --git a/urpm/install.pm b/urpm/install.pm index 7e33dd74..7e68343d 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -167,8 +167,9 @@ sub install { if ($trans->add($pkg, update => $update, $options{excludepath} ? (excludepath => [ split /,/, $options{excludepath} ]) : () )) { - $urpm->{log}(N("adding package %s (id=%d, eid=%d, update=%d, file=%s)", scalar($pkg->fullname), - $_, $pkg->id, $update, $mode->{$_})); + $urpm->{debug} and $urpm->{debug}( + N("adding package %s (id=%d, eid=%d, update=%d, file=%s)", scalar($pkg->fullname), + $_, $pkg->id, $update, $mode->{$_})); } else { $urpm->{error}(N("unable to install package %s", $mode->{$_})); } -- cgit v1.2.1