summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
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;