diff options
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 |