summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmf b/urpmf
index 698a7d8c..8b42bc4c 100755
--- a/urpmf
+++ b/urpmf
@@ -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