diff options
-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}; } |