summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-01-05 10:56:59 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-01-05 10:56:59 +0000
commit26697a4deadc00ecb196833cb0d2b673599f1afd (patch)
tree099df53b13e10e89c19b740a82fecb8e349b887b
parent0657c4f884f1a768c0b01232db63b4185e2cac83 (diff)
downloadurpmi-26697a4deadc00ecb196833cb0d2b673599f1afd.tar
urpmi-26697a4deadc00ecb196833cb0d2b673599f1afd.tar.gz
urpmi-26697a4deadc00ecb196833cb0d2b673599f1afd.tar.bz2
urpmi-26697a4deadc00ecb196833cb0d2b673599f1afd.tar.xz
urpmi-26697a4deadc00ecb196833cb0d2b673599f1afd.zip
Allow to install SRPMs as a non-root user (patch by Pascal Terjan)
-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