summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-14 14:34:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-14 14:34:24 +0000
commit5b484bff16baf7a86371a2b17864fc3e60e375d8 (patch)
treead729355a8dc45e5ba811058749a9043eab1c73f
parentd6a209622740f7568bb80bce826d3ec34bdf3954 (diff)
downloadurpmi-5b484bff16baf7a86371a2b17864fc3e60e375d8.tar
urpmi-5b484bff16baf7a86371a2b17864fc3e60e375d8.tar.gz
urpmi-5b484bff16baf7a86371a2b17864fc3e60e375d8.tar.bz2
urpmi-5b484bff16baf7a86371a2b17864fc3e60e375d8.tar.xz
urpmi-5b484bff16baf7a86371a2b17864fc3e60e375d8.zip
add support for --clean in gurpmi
-rw-r--r--NEWS2
-rw-r--r--urpm/args.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d03f7576..6ed13547 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- gurpmi
+ o add support for --clean
- urpmi.update, urpmi.addmedia, urpmi.removemedia:
o do not check wether the media are valid,
it allows "mv /etc/urpmi/urpmi.cfg.{backup,} ; urpmi.update -a" to work
diff --git a/urpm/args.pm b/urpm/args.pm
index fb785cd6..35a3068c 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -410,7 +410,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', 'replacefiles', 'p', 'P', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!', 'update',
+foreach my $k ('allow-medium-change', 'auto', 'auto-select', 'clean', 'force', 'expect-install!', 'justdb', 'no-priority-upgrade', 'noscripts', 'replacefiles', 'p', 'P', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!', 'update',
'split-level=s', 'split-length=s')
{
$options_spec{gurpmi}{$k} = $options_spec{urpmi}{$k};