From 26697a4deadc00ecb196833cb0d2b673599f1afd Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 5 Jan 2006 10:56:59 +0000 Subject: Allow to install SRPMs as a non-root user (patch by Pascal Terjan) --- urpmi | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1