diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-11-28 17:02:19 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-11-28 17:02:19 +0100 |
commit | b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3 (patch) | |
tree | 2ded3510e9ddc7c8f38efa5dbb96d120534af791 /lib/AdminPanel/Rpmdragora | |
parent | dac85c9e18785208db855ec0218221358f572b88 (diff) | |
download | colin-keep-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar colin-keep-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar.gz colin-keep-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar.bz2 colin-keep-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar.xz colin-keep-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.zip |
removed BP
Diffstat (limited to 'lib/AdminPanel/Rpmdragora')
-rw-r--r-- | lib/AdminPanel/Rpmdragora/pkg.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/pkg.pm b/lib/AdminPanel/Rpmdragora/pkg.pm index 0a04c7f..5ad95f6 100644 --- a/lib/AdminPanel/Rpmdragora/pkg.pm +++ b/lib/AdminPanel/Rpmdragora/pkg.pm @@ -211,6 +211,9 @@ my $canceled; sub download_callback { my ($gurpm, $mode, $file, $percent, $total, $eta, $speed) = @_; $canceled = 0; + +# $DB::single = 1; + if ($mode eq 'start') { $gurpm->label($loc->N("Downloading package `%s'...", urpm::util::basename($file))); $gurpm->validate_cancel(but($loc->N("Cancel")), sub { $canceled = 1 }); @@ -753,7 +756,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( # select packages to uninstall for !update mode: perform_removal($urpm, { map { $_ => $pkgs->{$_} } @to_remove }) if !$probe_only_for_updates; - # $gurpm = AdminPanel::Rpmdragora::gurpm->new(1 ? $loc->N("Please wait") : $loc->N("Package installation..."), $loc->N("Initializing..."), transient => $::main_window); + $gurpm = AdminPanel::Rpmdragora::gurpm->new($loc->N("Please wait"), $loc->N("Initializing..."), transient => $::main_window); # my $_gurpm_clean_guard = MDK::Common::Func::before_leaving { undef $gurpm }; my $something_installed; |