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 | |
parent | dac85c9e18785208db855ec0218221358f572b88 (diff) | |
download | manatools-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar manatools-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar.gz manatools-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar.bz2 manatools-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.tar.xz manatools-b0e29f4b7583aa0c6efc027e3febffa7b6ea5de3.zip |
removed BP
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AdminPanel/Rpmdragora/pkg.pm | 5 | ||||
-rw-r--r-- | lib/AdminPanel/rpmdragora.pm | 1 |
2 files changed, 4 insertions, 2 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; diff --git a/lib/AdminPanel/rpmdragora.pm b/lib/AdminPanel/rpmdragora.pm index f79b4997..e9f23a04 100644 --- a/lib/AdminPanel/rpmdragora.pm +++ b/lib/AdminPanel/rpmdragora.pm @@ -244,7 +244,6 @@ sub writeconf() { # special case: $no_confirmation->[0] = $::rpmdragora_options{'no-confirmation'}; -$DB::single = 1; MDK::Common::File::output($configfile, map { "$_ " . (ref ${$config{$_}{var}} ? join(' ', @${$config{$_}{var}}) : '') . "\n" } keys %config); } |