diff options
author | Francois Pons <fpons@mandriva.com> | 2001-11-21 15:33:18 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-11-21 15:33:18 +0000 |
commit | df1bbab41f0bd42e82b3670b9d2e9a15ee4139f3 (patch) | |
tree | bdb25d7436cab31cd5735fce194b747002d7d9b1 /urpmq | |
parent | f855ead59ddb8728b9af87a6a7f400871b70d224 (diff) | |
download | urpmi-df1bbab41f0bd42e82b3670b9d2e9a15ee4139f3.tar urpmi-df1bbab41f0bd42e82b3670b9d2e9a15ee4139f3.tar.gz urpmi-df1bbab41f0bd42e82b3670b9d2e9a15ee4139f3.tar.bz2 urpmi-df1bbab41f0bd42e82b3670b9d2e9a15ee4139f3.tar.xz urpmi-df1bbab41f0bd42e82b3670b9d2e9a15ee4139f3.zip |
small fixes.
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -124,6 +124,7 @@ $urpm->search_packages(\%packages, [ @names ], use_provides => $query->{use_prov if ($query->{auto_select}) { my (%to_remove, %keep_files); + $query->{update} or $urpm->read_config(nocheck_access => 1); $urpm->select_packages_to_upgrade('', \%packages, \%to_remove, \%keep_files); if (keys(%to_remove) > 0) { @@ -134,7 +135,7 @@ if ($query->{auto_select}) { #- filter to add in packages selected required packages. if ($query->{minimal}) { $query->{use_provides} || @files or $urpm->read_provides; - $query->{update} or $urpm->read_config(nocheck_access => 1); + $query->{update} || $query->{auto_select} or $urpm->read_config(nocheck_access => 1); $urpm->filter_minimal_packages_to_upgrade(\%packages, undef); } else { $query->{deps} && !$query->{upgrade} and $urpm->compute_closure(\%packages); |