diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-01 09:29:23 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-01 09:29:23 +0000 |
commit | 2c555c3c15a2dad1e46352acef7afcc4472485b5 (patch) | |
tree | d528e41b4559fa74367855aebdaa351be5100e0b | |
parent | f93e77975bf20cf3f8061a38727a8b085a39b7f0 (diff) | |
download | urpmi-2c555c3c15a2dad1e46352acef7afcc4472485b5.tar urpmi-2c555c3c15a2dad1e46352acef7afcc4472485b5.tar.gz urpmi-2c555c3c15a2dad1e46352acef7afcc4472485b5.tar.bz2 urpmi-2c555c3c15a2dad1e46352acef7afcc4472485b5.tar.xz urpmi-2c555c3c15a2dad1e46352acef7afcc4472485b5.zip |
- gurpmi2
o handle --update
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | gurpmi2 | 1 | ||||
-rw-r--r-- | urpm/args.pm | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -10,6 +10,7 @@ - gurpmi2 o nicer default window size o render nicely under matchbox during install + o handle --update Version 6.4 - 14 August 2008, Thierry Vignaud @@ -154,6 +154,7 @@ sub configure_urpm() { root => $gurpmi::options{root}, media => $gurpmi::options{media}, searchmedia => $gurpmi::options{searchmedia}, + update => $::update, ); $urpm->{options}{'verify-rpm'} = 0 if $gurpmi::options{'no-verify-rpm'}; $urpm; diff --git a/urpm/args.pm b/urpm/args.pm index 75f1556e..e3232893 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -402,7 +402,7 @@ sub add_urpmf_parameter { # common options setup -foreach my $k ('allow-medium-change', 'auto', 'auto-select', 'force', 'expect-install!', 'justdb', 'no-priority-upgrade', 'noscripts', 'p', 'P', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!') +foreach my $k ('allow-medium-change', 'auto', 'auto-select', 'force', 'expect-install!', 'justdb', 'no-priority-upgrade', 'noscripts', 'p', 'P', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!', 'update') { $options_spec{gurpmi}{$k} = $options_spec{urpmi}{$k}; } |