diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 09:43:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 09:43:43 +0000 |
commit | 3c7c87484803ce6cf92f50bbb078dabf86fb08e1 (patch) | |
tree | 597fbc4a321fb6b4ea08c0528a8724b08c384cfe /Rpmdrake/pkg.pm | |
parent | 9a8b2defb4ac557aca9c27d8ba7fbb5f7b11a184 (diff) | |
download | rpmdrake-3c7c87484803ce6cf92f50bbb078dabf86fb08e1.tar rpmdrake-3c7c87484803ce6cf92f50bbb078dabf86fb08e1.tar.gz rpmdrake-3c7c87484803ce6cf92f50bbb078dabf86fb08e1.tar.bz2 rpmdrake-3c7c87484803ce6cf92f50bbb078dabf86fb08e1.tar.xz rpmdrake-3c7c87484803ce6cf92f50bbb078dabf86fb08e1.zip |
(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
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-x | Rpmdrake/pkg.pm | 2 |
1 files changed, 0 insertions, 2 deletions
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]; |