diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-29 02:46:31 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-29 02:46:31 +0000 |
commit | acf4d7805b5be2d13d1f47c577d5cf0e3f462e72 (patch) | |
tree | dde5e9b95368c6390245cb46ffbdca7fc532446e | |
parent | 999a07db7b69bfffb350ed0c439f7ea3deb2a14c (diff) | |
download | urpmi-acf4d7805b5be2d13d1f47c577d5cf0e3f462e72.tar urpmi-acf4d7805b5be2d13d1f47c577d5cf0e3f462e72.tar.gz urpmi-acf4d7805b5be2d13d1f47c577d5cf0e3f462e72.tar.bz2 urpmi-acf4d7805b5be2d13d1f47c577d5cf0e3f462e72.tar.xz urpmi-acf4d7805b5be2d13d1f47c577d5cf0e3f462e72.zip |
Remove useless line
-rwxr-xr-x | urpmi | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |