summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-09 11:26:54 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-09 11:26:54 +0000
commita158b97ff3889c7ff1253f447c424fb052ae419a (patch)
treef4927104e749389919250b4c0d85d38f171bc884 /urpme
parentdd45ca2cf9311144763604a9a43c043c85399aaa (diff)
downloadurpmi-a158b97ff3889c7ff1253f447c424fb052ae419a.tar
urpmi-a158b97ff3889c7ff1253f447c424fb052ae419a.tar.gz
urpmi-a158b97ff3889c7ff1253f447c424fb052ae419a.tar.bz2
urpmi-a158b97ff3889c7ff1253f447c424fb052ae419a.tar.xz
urpmi-a158b97ff3889c7ff1253f447c424fb052ae419a.zip
Log calls to urpmi and urpme
Diffstat (limited to 'urpme')
-rw-r--r--urpme7
1 files changed, 6 insertions, 1 deletions
diff --git a/urpme b/urpme
index 4585855b..12fe0cd1 100644
--- a/urpme
+++ b/urpme
@@ -27,7 +27,7 @@ use urpm::msg;
$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin";
delete @ENV{qw(ENV BASH_ENV IFS CDPATH)};
-our ($root, $test, $parallel, $auto, $matches, $verbose, $maymatch, $usedistrib, $force, $noscripts, @l);
+our ($root, $test, $parallel, $auto, $matches, $verbose, $usedistrib, $force, $noscripts, @l);
# Translator: Add here the keys which might be pressed in the "No"-case.
my $noexpr = N("Nn");
# Translator: Add here the keys which might be pressed in the "Yes"-case.
@@ -55,6 +55,7 @@ usage:
}
@ARGV or usage;
+my @origARGV = @ARGV;
urpm::args::parse_cmdline();
@l = @ARGV;
@@ -68,6 +69,10 @@ if ($< && !$test) {
$urpm->{fatal}(1, N("Only superuser is allowed to remove packages"));
}
+unless ($test) {
+ sys_log("called with: @origARGV");
+}
+
#- just configure parallel mode if available.
$urpm->configure(
synthesis => ($parallel ? 'none' : ''),