From d53a1e28582fa6a01a70e636be8736443db1c0e2 Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Fri, 15 Sep 2000 22:58:30 +0000 Subject: [PATCH] fixup html-escaped left from a patch --- scripts/update-alternatives.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update-alternatives.pl b/scripts/update-alternatives.pl index a43ef0c7..4754046d 100755 --- a/scripts/update-alternatives.pl +++ b/scripts/update-alternatives.pl @@ -511,7 +511,7 @@ sub config_alternatives { rename_mv("$altdir/$name.dpkg-tmp","$altdir/$name") || &quit("unable to install $altdir/$name.dpkg-tmp as $altdir/$name: $!"); # Link slaves... - for( my $slnum = 0; $slnum < @slavenames; $slnum++ ) { + for( my $slnum = 0; $slnum < @slavenames; $slnum++ ) { my $slave = $slavenames[$slnum]; if ($slavepath{$preferred,$slnum} ne '') { checked_symlink($slavepath{$preferred,$slnum}, @@ -519,7 +519,7 @@ sub config_alternatives { checked_mv("$altdir/$slave.dpkg-tmp", "$altdir/$slave"); } else { &&pr("Removing $slave ($slavelinks[$slnum]), not appropriate with $versions[$preferred].") - if $verbosemode > 0; + if $verbosemode > 0; unlink("$altdir/$slave") || $! == &ENOENT || &quit("unable to remove $altdir/$slave: $!"); } -- 2.39.5