diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-06-13 12:49:43 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-06-13 12:49:43 +0000 |
commit | d43080a88e26c841b3a1215aacb4666c11e797a3 (patch) | |
tree | bc1601f8d009b64367f3187ae13b5d521875ecd3 | |
parent | f55d57965fe587d594f2e5c459f82a19e514fb8d (diff) | |
download | urpmi-d43080a88e26c841b3a1215aacb4666c11e797a3.tar urpmi-d43080a88e26c841b3a1215aacb4666c11e797a3.tar.gz urpmi-d43080a88e26c841b3a1215aacb4666c11e797a3.tar.bz2 urpmi-d43080a88e26c841b3a1215aacb4666c11e797a3.tar.xz urpmi-d43080a88e26c841b3a1215aacb4666c11e797a3.zip |
Forbid rurpmi --noscripts
-rwxr-xr-x | urpmi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -215,7 +215,7 @@ 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 || $auto_update; - foreach (qw(allow-nodeps allow-force curl-options rsync-options wget-options)) { + foreach (qw(allow-nodeps allow-force curl-options rsync-options wget-options noscripts)) { urpm::error_restricted($urpm) if $urpm->{options}{$_}; } } |