From acf4d7805b5be2d13d1f47c577d5cf0e3f462e72 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 29 Jun 2005 02:46:31 +0000 Subject: Remove useless line --- urpmi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/urpmi b/urpmi index d9de5ab4..52aa1fd2 100755 --- a/urpmi +++ b/urpmi @@ -188,11 +188,12 @@ if ($install_src) { #- rurpmi checks if ($restricted) { urpm::error_restricted($urpm) if @src_files || @files; + #- force some options $urpm->{options}{keep} = 1; $urpm->{options}{'verify-rpm'} = 1; + #- forbid some other options urpm::error_restricted($urpm) if $::root || $::usedistrib || $::force || $::env || $::parallel; foreach (qw(allow-nodeps allow-force)) { urpm::error_restricted($urpm) if $urpm->{options}{$_} } - foreach (qw(verify-rpm)) { urpm::error_restricted($urpm) unless $urpm->{options}{$_} } } #- prepare bug report. -- cgit v1.2.1