summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-06-26 16:43:32 +0000
committerFrancois Pons <fpons@mandriva.com>2001-06-26 16:43:32 +0000
commitfe6cf0ad3d06df7c32b4e042dca2a04cd1e31780 (patch)
tree23968a058909ec9635e8b60c98b6dff9f8becb8a /urpmq
parent7ce6b8500c1e8dbf243c46324e549f278819455d (diff)
downloadurpmi-fe6cf0ad3d06df7c32b4e042dca2a04cd1e31780.tar
urpmi-fe6cf0ad3d06df7c32b4e042dca2a04cd1e31780.tar.gz
urpmi-fe6cf0ad3d06df7c32b4e042dca2a04cd1e31780.tar.bz2
urpmi-fe6cf0ad3d06df7c32b4e042dca2a04cd1e31780.tar.xz
urpmi-fe6cf0ad3d06df7c32b4e042dca2a04cd1e31780.zip
birthday work on urpmi.
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq8
1 files changed, 4 insertions, 4 deletions
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);