diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 15:19:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 15:19:52 +0000 |
commit | f4c5b3fcf6bbca2fa0fcfcf7ab58819c79caeb50 (patch) | |
tree | 4fa7bebe110c865c2a023c999aaca50aa9b656c5 /urpmf | |
parent | 3036afacd2e78524060d15a759efce21b912c3e1 (diff) | |
download | urpmi-f4c5b3fcf6bbca2fa0fcfcf7ab58819c79caeb50.tar urpmi-f4c5b3fcf6bbca2fa0fcfcf7ab58819c79caeb50.tar.gz urpmi-f4c5b3fcf6bbca2fa0fcfcf7ab58819c79caeb50.tar.bz2 urpmi-f4c5b3fcf6bbca2fa0fcfcf7ab58819c79caeb50.tar.xz urpmi-f4c5b3fcf6bbca2fa0fcfcf7ab58819c79caeb50.zip |
move lock functions to urpm::sys
Diffstat (limited to 'urpmf')
-rwxr-xr-x | urpmf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -193,7 +193,7 @@ if ($env) { #- lock to avoid concurrent media updates, #- but don't die if it doesn't work local $urpm->{fatal} = sub { printf STDERR "%s\n", $_[1] }; - $urpm->lock_urpmi_db; + urpm::sys::lock_urpmi_db($urpm); } my $need_hdlist = grep { $usedtags{$_} } qw( buildhost @@ -218,7 +218,7 @@ $urpm->configure( callback => $callback, need_hdlist => $need_hdlist, ); -$urpm->unlock_urpmi_db; +urpm::sys::unlock_urpmi_db($urpm); if ($need_hdlist) { # @hdmedia is the list of all media searched that use hdlists |