From 404c7e99a6a75fbebb05f7e3c50837b54d4ef146 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 13 Oct 2005 13:44:48 +0000 Subject: Add a --debug option to print internal callback (instead of using --verbose for that). --- urpmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpmf') 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; -- cgit v1.2.1