diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 16:22:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 16:22:41 +0000 |
commit | 36214d5fb31f111b9108de59cfd5b86baa2fe8f7 (patch) | |
tree | 16fe7e257125bf253b3147442c722e3f843feaad /mdkapplet | |
parent | 6ea41b4ea390c96373232246f1e1906ffac5f078 (diff) | |
download | mgaonline-36214d5fb31f111b9108de59cfd5b86baa2fe8f7.tar mgaonline-36214d5fb31f111b9108de59cfd5b86baa2fe8f7.tar.gz mgaonline-36214d5fb31f111b9108de59cfd5b86baa2fe8f7.tar.bz2 mgaonline-36214d5fb31f111b9108de59cfd5b86baa2fe8f7.tar.xz mgaonline-36214d5fb31f111b9108de59cfd5b86baa2fe8f7.zip |
(upgrade) perl_checker cleanup
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -400,7 +400,7 @@ sub upgrade() { my $urpm = Rpmdrake::open_db::fast_open_urpmi_db(); - my $_urpmi_lock = eval { + my $urpmi_lock = eval { local $urpm->{fatal} = sub { die @_ }; urpm::lock::urpmi_db($urpm, 'exclusive'); }; @@ -409,7 +409,7 @@ sub upgrade() { logIt(sprintf("locking urpmi database failed: %s"), $err); return; } - undef $_urpmi_lock; + undef $urpmi_lock; logIt("removing all existing urpmi media for upgrade"); run_program::run('urpmi.removemedia', if_($root, '--urpmi-root', $root), '-a'); |