From: Wichert Akkerman Date: Fri, 15 Sep 2000 22:58:30 +0000 (+0000) Subject: fixup html-escaped left from a patch X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d53a1e28582fa6a01a70e636be8736443db1c0e2;p=dpkg fixup html-escaped left from a patch --- 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: $!"); }