diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-12-02 14:39:35 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-12-02 14:39:35 +0000 |
commit | ee6321411cb4993bb4d165653e7b032247d2d379 (patch) | |
tree | 36377194b40c6e882fe179b2b73b56e28ed6b003 | |
parent | 77b03c95a1f5f69e5f9c40c1deeb89948192ce43 (diff) | |
download | urpmi-ee6321411cb4993bb4d165653e7b032247d2d379.tar urpmi-ee6321411cb4993bb4d165653e7b032247d2d379.tar.gz urpmi-ee6321411cb4993bb4d165653e7b032247d2d379.tar.bz2 urpmi-ee6321411cb4993bb4d165653e7b032247d2d379.tar.xz urpmi-ee6321411cb4993bb4d165653e7b032247d2d379.zip |
Forbid --curl-options and friends in rurpmi
-rwxr-xr-x | urpmi | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -199,7 +199,9 @@ if ($restricted) { foreach (qw(keep verify-rpm norebuild)) { $urpm->{options}{$_} = 1 } #- forbid some other options urpm::error_restricted($urpm) if $root || $usedistrib || $force || $env || $parallel || $synthesis || $nolock; - foreach (qw(allow-nodeps allow-force)) { urpm::error_restricted($urpm) if $urpm->{options}{$_} } + foreach (qw(allow-nodeps allow-force curl-options rsync-options wget-options)) { + urpm::error_restricted($urpm) if $urpm->{options}{$_}; + } } #- prepare bug report. |