summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-13 13:44:48 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-13 13:44:48 +0000
commit404c7e99a6a75fbebb05f7e3c50837b54d4ef146 (patch)
treeb7106466466aacda7d75847707ccb606fac24fa3 /urpmf
parent8082ff305e7973b52c816cea5d61923deccc1fa6 (diff)
downloadurpmi-404c7e99a6a75fbebb05f7e3c50837b54d4ef146.tar
urpmi-404c7e99a6a75fbebb05f7e3c50837b54d4ef146.tar.gz
urpmi-404c7e99a6a75fbebb05f7e3c50837b54d4ef146.tar.bz2
urpmi-404c7e99a6a75fbebb05f7e3c50837b54d4ef146.tar.xz
urpmi-404c7e99a6a75fbebb05f7e3c50837b54d4ef146.zip
Add a --debug option to print internal callback (instead of using --verbose for that).
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmf b/urpmf
index 4c411ad4..bdbbcc6f 100755
--- a/urpmf
+++ b/urpmf
@@ -116,7 +116,7 @@ foreach (qw(filename group size epoch summary description sourcerpm packager bui
$callback .= '
1;
}';
-$urpm->{log}(N("callback is:\n%s\n", $callback));
+$urpm->{error}(N("callback is:\n%s\n", $callback)) if our $debug;
$callback = eval $callback;
$@ and usage;