From 98d2d32d5cd8d3ef5cc9c46325170d0cd4c61ffa Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 23 Apr 2004 12:36:47 +0000 Subject: The command-line parsing for urpmq wasn't quite right yet. --- urpmq | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'urpmq') 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; -- cgit v1.2.1