summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 1c336421c..a195455b8 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -510,8 +510,7 @@ sub installPackages {
$advertize->(0);
- my $oldInstallCallback = \&pkgs::installCallback;
- local *pkgs::installCallback = sub {
+ local *install_steps::installCallback = sub {
my ($data, $type, $id, $subtype, $amount, $total) = @_;
if ($type eq 'user' && $subtype eq 'install') {
#- $amount and $total are used to return number of package and total size.
@@ -545,7 +544,7 @@ sub installPackages {
$last_dtime = $dtime;
}
$w->flush;
- } else { goto $oldInstallCallback }
+ }
};
#- the modification is not local as the box should be living for other package installation.
undef *install_any::changeMedium;