aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-10 15:37:23 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-10 15:37:23 +0000
commitcc060b11ce4c7ce6c86ff71def641d73b22909e9 (patch)
tree12b601784adad42d9535cff09fe7e70a360fd0e9
parentdfff3c1df3e6155671307dbadf996629ec3e78e0 (diff)
downloadrpmdrake-cc060b11ce4c7ce6c86ff71def641d73b22909e9.tar
rpmdrake-cc060b11ce4c7ce6c86ff71def641d73b22909e9.tar.gz
rpmdrake-cc060b11ce4c7ce6c86ff71def641d73b22909e9.tar.bz2
rpmdrake-cc060b11ce4c7ce6c86ff71def641d73b22909e9.tar.xz
rpmdrake-cc060b11ce4c7ce6c86ff71def641d73b22909e9.zip
(open_urpmi_db) enable 'allow-force' and 'allow-nodeps' options by default
-rwxr-xr-xRpmdrake/pkg.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index f7c5dde7..a8c0f8ce 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -228,6 +228,8 @@ sub open_urpmi_db() {
my $urpm = urpm->new;
$urpm->{options}{'split-level'} ||= 20;
$urpm->{options}{'split-length'} ||= 1;
+ $urpm->{options}{'allow-force'} = 1;
+ $urpm->{options}{'allow-nodeps'} = 1;
$urpm->{options}{'no-verify-rpm'} = $::options{'no-verify-rpm'};
$urpm->{fatal} = sub {