From fe6cf0ad3d06df7c32b4e042dca2a04cd1e31780 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 26 Jun 2001 16:43:32 +0000 Subject: birthday work on urpmi. --- urpmq | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'urpmq') diff --git a/urpmq b/urpmq index 825071c3..ef79be91 100755 --- a/urpmq +++ b/urpmq @@ -25,7 +25,7 @@ use urpm; import urpm _; #- default options. -my $query; +my $query = {}; my @files; my @names; @@ -94,13 +94,13 @@ my $urpm = new urpm; $query->{verbose} or $urpm->{log} = sub {}; $urpm->read_depslist; -$query && $query->{group} and $urpm->read_compss; -$query && $query->{use_provides} and $urpm->read_provides; +$query->{group} and $urpm->read_compss; +$query->{use_provides} and $urpm->read_provides; if (@files) { #- read provides file which is needed only to compute incremental #- dependancies, of files provided. - $query && $query->{use_provides} or $urpm->read_provides; + $query->{use_provides} or $urpm->read_provides; #- build closure with local package and return list of names. push @names, $urpm->register_local_packages(@files); -- cgit v1.2.1