From 3c7c87484803ce6cf92f50bbb078dabf86fb08e1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 13 Aug 2007 09:43:43 +0000 Subject: (open_urpmi_db) do not unconditionnally enable 'allow-force' & 'allow-nodeps' options since we do no want end users to shoot themselves in the foot --- Rpmdrake/pkg.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'Rpmdrake') diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 4589c840..04db46cd 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -230,8 +230,6 @@ 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->{options}{auto} = $::options{'auto'}; urpm::set_files($urpm, $::options{'urpmi-root'}->[0]) if $::options{'urpmi-root'}->[0]; -- cgit v1.2.1