aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-03 16:05:44 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-03 16:05:44 +0000
commitd3989619f6e0c8bb1f759efbf08b9c948f6f9bb8 (patch)
treeec195c800bf66c8cff22bb05dfedb6271e717f57 /Rpmdrake/pkg.pm
parent562d9102c2a35e74fbc590163dbcac7df415d29d (diff)
downloadrpmdrake-d3989619f6e0c8bb1f759efbf08b9c948f6f9bb8.tar
rpmdrake-d3989619f6e0c8bb1f759efbf08b9c948f6f9bb8.tar.gz
rpmdrake-d3989619f6e0c8bb1f759efbf08b9c948f6f9bb8.tar.bz2
rpmdrake-d3989619f6e0c8bb1f759efbf08b9c948f6f9bb8.tar.xz
rpmdrake-d3989619f6e0c8bb1f759efbf08b9c948f6f9bb8.zip
(get_pkgs) do not mask earlier declaration in same scope (cosmetic)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 6537eab1..befb2e09 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -248,7 +248,7 @@ sub get_pkgs {
my $w = $::main_window;
Rpmdrake::gurpm::init(1 ? N("Please wait") : N("Package installation..."), N("Initializing..."), transient => $::main_window);
- my $_guard = before_leaving { Rpmdrake::gurpm::end() };
+ my $_gurpm_clean_guard = before_leaving { Rpmdrake::gurpm::end() };
my $_flush_guard = Gtk2::GUI_Update_Guard->new;
my $urpm = open_urpmi_db();
@@ -533,7 +533,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
scroll => 1,
yesno => 1) or return 1;
- my $_guard = before_leaving { urpm::removable::try_umounting_removables($urpm) };
+ my $_umount_guard = before_leaving { urpm::removable::try_umounting_removables($urpm) };
# select packages to uninstall for !update mode:
perform_removal($urpm, { map { $_ => $pkgs->{$_} } @to_remove }) if !$probe_only_for_updates;