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 /gurpmi2 | |
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 'gurpmi2')
-rwxr-xr-x | gurpmi2 | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -114,8 +114,8 @@ sub configure_urpm() { $w->run; $w->destroy; }; - $urpm->lock_rpm_db('exclusive'); - $urpm->lock_urpmi_db; + urpm::sys::lock_rpm_db($urpm, 'exclusive'); + urpm::sys::lock_urpmi_db($urpm); $urpm->configure( root => $gurpmi::options{root}, media => $gurpmi::options{media}, @@ -332,7 +332,7 @@ sub do_install_3 () { } else { $progress_label->set_label(N("Installation finished")); } - $urpm->unlock_urpmi_db; - $urpm->unlock_rpm_db; + urpm::sys::unlock_urpmi_db($urpm); + urpm::sys::unlock_rpm_db($urpm); $urpm->try_umounting_removables; } |