summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-06 16:09:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-06 16:09:13 +0000
commitbe52974b0147e2b798b9014eb1529711851f60e4 (patch)
treeb06331c0df8fa7aadb70ba34b9b8087f6c159c67
parente2641eb67b56720b97cd1f9bfdc6a9a7866c0736 (diff)
downloadurpmi-be52974b0147e2b798b9014eb1529711851f60e4.tar
urpmi-be52974b0147e2b798b9014eb1529711851f60e4.tar.gz
urpmi-be52974b0147e2b798b9014eb1529711851f60e4.tar.bz2
urpmi-be52974b0147e2b798b9014eb1529711851f60e4.tar.xz
urpmi-be52974b0147e2b798b9014eb1529711851f60e4.zip
what mdkonline really want, is that gurpmi/gurpmi2 handles --replacefiles
-rw-r--r--NEWS4
-rw-r--r--urpm/args.pm2
2 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 0a0738ba..9ac537d2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,8 @@
- urpmi, rpmdrake:
o nice exit code for "bad signature" fatal error. Fixes rpmdrake continuing
on bad signature (#44575)
-- urpmi, library:
- o handle --replacefiles, will be used by mdkonline
+- urpmi, gurpmi:
+ o handle --replacefiles (will be used by mdkonline)
(require perl-URPM 3.19)
- gurpmi:
o do not exit in --auto mode at end of installation which prevents
diff --git a/urpm/args.pm b/urpm/args.pm
index 6af01d4b..2e590b23 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', 'p', 'P', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!', 'update')
+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')
{
$options_spec{gurpmi}{$k} = $options_spec{urpmi}{$k};
}