summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index 8b3542cb..3b0b86bf 100755
--- a/urpmi
+++ b/urpmi
@@ -210,7 +210,7 @@ if ($install_src) {
#- rurpmi checks
if ($restricted) {
- urpm::error_restricted($urpm) if @src_files || @files;
+ urpm::error_restricted($urpm) if @files;
#- force some options
foreach (qw(keep verify-rpm norebuild)) { $urpm->{options}{$_} = 1 }
#- forbid some other options