diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-14 14:34:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-14 14:34:24 +0000 |
commit | 5b484bff16baf7a86371a2b17864fc3e60e375d8 (patch) | |
tree | ad729355a8dc45e5ba811058749a9043eab1c73f | |
parent | d6a209622740f7568bb80bce826d3ec34bdf3954 (diff) | |
download | urpmi-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-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/args.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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}; |