summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-01 09:29:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-01 09:29:23 +0000
commit2c555c3c15a2dad1e46352acef7afcc4472485b5 (patch)
treed528e41b4559fa74367855aebdaa351be5100e0b
parentf93e77975bf20cf3f8061a38727a8b085a39b7f0 (diff)
downloadurpmi-2c555c3c15a2dad1e46352acef7afcc4472485b5.tar
urpmi-2c555c3c15a2dad1e46352acef7afcc4472485b5.tar.gz
urpmi-2c555c3c15a2dad1e46352acef7afcc4472485b5.tar.bz2
urpmi-2c555c3c15a2dad1e46352acef7afcc4472485b5.tar.xz
urpmi-2c555c3c15a2dad1e46352acef7afcc4472485b5.zip
- gurpmi2
o handle --update
-rw-r--r--NEWS1
-rwxr-xr-xgurpmi21
-rw-r--r--urpm/args.pm2
3 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 03c213ff..79de063d 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/gurpmi2 b/gurpmi2
index 5ff4ff88..bd9f59e6 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -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};
}