From 4e4ce871d3a4d4eef97e7621b91a445840a09c24 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 7 Jan 2003 13:26:56 +0000 Subject: fix looking for broken alternatives --- perl-install/install_steps.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 8d61c58c2..de992bc1f 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -503,6 +503,7 @@ GridHeight=70 #- fix bad update-alternatives that may occurs after upgrade (but let them for install too). if (-d "$o->{prefix}/etc/alternatives") { foreach (all("$o->{prefix}/etc/alternatives")) { + -e "$o->{prefix}/etc/alternatives/$_" and next; log::l("fixing broken alternative $_"); run_program::rooted($o->{prefix}, "update-alternatives", "--auto", $_); } -- cgit v1.2.1