aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Rpmdragora/pkg.pm
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-11-28 17:02:19 +0100
committerAngelo Naselli <anaselli@linux.it>2014-11-28 17:02:19 +0100
commitb0e29f4b7583aa0c6efc027e3febffa7b6ea5de3 (patch)
tree2ded3510e9ddc7c8f38efa5dbb96d120534af791 /lib/AdminPanel/Rpmdragora/pkg.pm
parentdac85c9e18785208db855ec0218221358f572b88 (diff)
downloadmanatools-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar
manatools-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar.gz
manatools-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar.bz2
manatools-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar.xz
manatools-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.zip
removed BP
Diffstat (limited to 'lib/AdminPanel/Rpmdragora/pkg.pm')
-rw-r--r--lib/AdminPanel/Rpmdragora/pkg.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/pkg.pm b/lib/AdminPanel/Rpmdragora/pkg.pm
index 0a04c7f1..5ad95f6d 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;