From b0d554c4155060ed665844fdf7b2a08db9bb3356 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 27 Nov 2002 20:50:12 +0000 Subject: perl_checker adaptations --- perl-install/install_steps.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 6df6bd0d2..659ec72ac 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -501,7 +501,8 @@ GridHeight=70 #- fix bad update-alternatives that may occurs after upgrade (but let them for install too). if (-d "$o->{prefix}/etc/alternatives") { - local (*ALTERNATE_DIR, $_); opendir ALTERNATE_DIR, "$o->{prefix}/etc/alternatives"; + local *ALTERNATE_DIR; opendir ALTERNATE_DIR, "$o->{prefix}/etc/alternatives"; + local $_; while (defined($_ = readdir ALTERNATE_DIR)) { -e "$o->{prefix}/etc/alternatives/$_" and next; log::l("fixing broken alternative $_"); @@ -691,7 +692,7 @@ sub configureServices { } #------------------------------------------------------------------------------ sub configurePrinter { - my($o) = @_; + my ($o) = @_; $o->do_pkgs->install('foomatic', 'printer-utils', 'printer-testpages', if_($o->do_pkgs->is_installed('gimp'), 'gimpprint')); -- cgit v1.2.1