summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-23 12:36:47 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-23 12:36:47 +0000
commit98d2d32d5cd8d3ef5cc9c46325170d0cd4c61ffa (patch)
treef4e3ee59ece5fd74d8e623590d37eaf51599338d /urpmq
parent5e4f76f2150e48b3f18d9a3d2e05ccc379fd9141 (diff)
downloadurpmi-98d2d32d5cd8d3ef5cc9c46325170d0cd4c61ffa.tar
urpmi-98d2d32d5cd8d3ef5cc9c46325170d0cd4c61ffa.tar.gz
urpmi-98d2d32d5cd8d3ef5cc9c46325170d0cd4c61ffa.tar.bz2
urpmi-98d2d32d5cd8d3ef5cc9c46325170d0cd4c61ffa.tar.xz
urpmi-98d2d32d5cd8d3ef5cc9c46325170d0cd4c61ffa.zip
The command-line parsing for urpmq wasn't quite right yet.
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq9
1 files changed, 6 insertions, 3 deletions
diff --git a/urpmq b/urpmq
index aaa8f178..4db8f463 100755
--- a/urpmq
+++ b/urpmq
@@ -21,14 +21,17 @@
#- this program is based upon urpmi.
use strict;
+
+#- default options.
+#- this needs to be set earlier than the loading of urpm::args.
+our $query;
+BEGIN { $query = { use_provides => 1, } }
+
use urpm;
use urpm::args;
use urpm::msg;
use MDK::Common;
-#- default options.
-my $query = { use_provides => 1, };
-
our @files;
our @names;
our @src_names;