summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 16:22:41 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 16:22:41 +0000
commit36214d5fb31f111b9108de59cfd5b86baa2fe8f7 (patch)
tree16fe7e257125bf253b3147442c722e3f843feaad
parent6ea41b4ea390c96373232246f1e1906ffac5f078 (diff)
downloadmgaonline-36214d5fb31f111b9108de59cfd5b86baa2fe8f7.tar
mgaonline-36214d5fb31f111b9108de59cfd5b86baa2fe8f7.tar.gz
mgaonline-36214d5fb31f111b9108de59cfd5b86baa2fe8f7.tar.bz2
mgaonline-36214d5fb31f111b9108de59cfd5b86baa2fe8f7.tar.xz
mgaonline-36214d5fb31f111b9108de59cfd5b86baa2fe8f7.zip
(upgrade) perl_checker cleanup
-rwxr-xr-xmdkapplet4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index 42fd6789..96d4bc6f 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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');