summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index d7891560..8f190a9b 100755
--- a/urpmi
+++ b/urpmi
@@ -194,6 +194,8 @@ if ($install_src) {
@files and $urpm->{fatal}(1, N("What can be done with binary rpm files when using --install-src"));
push @src_names, @names;
@names = ();
+ #- allow to use --install-src as a non-root user
+ $nolock = 1;
}
#- rurpmi checks