diff options
author | Francois Pons <fpons@mandriva.com> | 2001-06-26 16:43:32 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-06-26 16:43:32 +0000 |
commit | fe6cf0ad3d06df7c32b4e042dca2a04cd1e31780 (patch) | |
tree | 23968a058909ec9635e8b60c98b6dff9f8becb8a /urpmq | |
parent | 7ce6b8500c1e8dbf243c46324e549f278819455d (diff) | |
download | urpmi-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-x | urpmq | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); |