summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-31 16:33:55 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-31 16:33:55 +0000
commitd7e2a329df79189bd586358f2b0c6802d76f50aa (patch)
treed0401f5ec27b5c8628bb632c2eb1d499095d0f29
parente8ab23bf4647a6dd9c9606fa805a35e3ccf00c2b (diff)
downloadurpmi-d7e2a329df79189bd586358f2b0c6802d76f50aa.tar
urpmi-d7e2a329df79189bd586358f2b0c6802d76f50aa.tar.gz
urpmi-d7e2a329df79189bd586358f2b0c6802d76f50aa.tar.bz2
urpmi-d7e2a329df79189bd586358f2b0c6802d76f50aa.tar.xz
urpmi-d7e2a329df79189bd586358f2b0c6802d76f50aa.zip
added shared lock (same as urpmq or urpmf).
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index e6c2a436..a498e779 100755
--- a/urpmi
+++ b/urpmi
@@ -322,6 +322,7 @@ unless ($bug) {
}
$verbose > 0 or $urpm->{log} = sub {};
+$urpm->shlock_urpmi_db;
$urpm->configure(nocheck_access => $env || $uid > 0,
media => $media,
excludemedia => $excludemedia,
@@ -508,7 +509,6 @@ if ($X) {
my %sources = %$local_sources;
my %error_sources;
-$urpm->exlock_urpmi_db;
$urpm->copy_packages_of_removable_media($list, \%sources,
verbose => $verbose > 0,
force_local => 1,