diff options
author | Francois Pons <fpons@mandriva.com> | 2003-07-31 16:34:10 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-07-31 16:34:10 +0000 |
commit | b7d5115540aef9f94c25c0016546af5f48a8903a (patch) | |
tree | 1020a16ed9b4456d20a29dca4a5f1f86145b5137 /urpmq | |
parent | d7e2a329df79189bd586358f2b0c6802d76f50aa (diff) | |
download | urpmi-b7d5115540aef9f94c25c0016546af5f48a8903a.tar urpmi-b7d5115540aef9f94c25c0016546af5f48a8903a.tar.gz urpmi-b7d5115540aef9f94c25c0016546af5f48a8903a.tar.bz2 urpmi-b7d5115540aef9f94c25c0016546af5f48a8903a.tar.xz urpmi-b7d5115540aef9f94c25c0016546af5f48a8903a.zip |
added shared lock (same as urpmi or urpmf).
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -172,6 +172,7 @@ if ($query->{env}) { $urpm->{statedir} = $query->{env}; } +$urpm->shlock_urpmi_db; $urpm->configure(nocheck_access => 1, noskipping => $query->{nodepslist}, noinstalling => $query->{nodepslist}, nodepslist => $query->{nodepslist}, media => $query->{media}, @@ -395,6 +396,7 @@ if ($query->{list_aliases}) { exit 0; } } +$urpm->unlock_urpmi_db; #- print sub for query. my $query_sub = sub { |