diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-23 13:30:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-23 13:30:17 +0000 |
commit | 84f1d57e6e1fc11b5f9232621fbf24059ca11739 (patch) | |
tree | a05d3d5c316542f837e1cb93ed33388d25bc5186 /urpm/install.pm | |
parent | a3cfc3441593f8ed8dd8ed636502e6f115fb5177 (diff) | |
download | urpmi-84f1d57e6e1fc11b5f9232621fbf24059ca11739.tar urpmi-84f1d57e6e1fc11b5f9232621fbf24059ca11739.tar.gz urpmi-84f1d57e6e1fc11b5f9232621fbf24059ca11739.tar.bz2 urpmi-84f1d57e6e1fc11b5f9232621fbf24059ca11739.tar.xz urpmi-84f1d57e6e1fc11b5f9232621fbf24059ca11739.zip |
this is debug stuff, hide it from -v
Diffstat (limited to 'urpm/install.pm')
-rw-r--r-- | urpm/install.pm | 5 |
1 files changed, 3 insertions, 2 deletions
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->{$_})); } |