summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi4
1 files changed, 3 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index d96c5d21..92dff332 100755
--- a/urpmi
+++ b/urpmi
@@ -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.