diff options
author | Francois Pons <fpons@mandriva.com> | 2003-07-31 16:34:25 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-07-31 16:34:25 +0000 |
commit | ef3761015754803621094dfa6e6d833f0fe7effa (patch) | |
tree | 0d0de9bf4fdb3f8377b70227b32c1b5cae8c3629 /urpmf | |
parent | b7d5115540aef9f94c25c0016546af5f48a8903a (diff) | |
download | urpmi-ef3761015754803621094dfa6e6d833f0fe7effa.tar urpmi-ef3761015754803621094dfa6e6d833f0fe7effa.tar.gz urpmi-ef3761015754803621094dfa6e6d833f0fe7effa.tar.bz2 urpmi-ef3761015754803621094dfa6e6d833f0fe7effa.tar.xz urpmi-ef3761015754803621094dfa6e6d833f0fe7effa.zip |
added shared lock (same as urpmi or urpmq).
Diffstat (limited to 'urpmf')
-rwxr-xr-x | urpmf | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -152,6 +152,7 @@ if ($env) { $urpm->{statedir} = $env; } +$urpm->shlock_urpmi_db; $urpm->configure(nocheck_access => 1, noskipping => 1, media => $media, excludemedia => $excludemedia, @@ -162,5 +163,6 @@ $urpm->configure(nocheck_access => 1, noskipping => 1, hdlist => ($params{summary} || $params{description} || $params{sourcerpm} || $params{packager} || $params{buildhost} || $params{url} || $params{files}), ); +$urpm->unlock_urpmi_db; #- that'all! all has been done by callback above. |