From 08cbb461f3683d3d4ac48e466b661854c90ebf20 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 8 Mar 2002 14:38:35 +0000 Subject: fixed possible additional XFree packages not installed if server is already installed. --- perl-install/Xconfigurator.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index 40f475215..decb975e3 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -455,7 +455,11 @@ NOTE THIS IS EXPERIMENTAL SUPPORT AND MAY FREEZE YOUR COMPUTER.", $xf3_ver)) . " } unless ($::g_auto_install) { - -x "$prefix$card->{prog}" or $do_pkgs->install($card->{use_xf4} ? 'XFree86-server' : "XFree86-$card->{server}", @l); + if (-x "$prefix$card->{prog}") { + @l and $do_pkgs->install(@l); + } else { + $do_pkgs->install($card->{use_xf4} ? 'XFree86-server' : "XFree86-$card->{server}", @l); + } -x "$prefix$card->{prog}" or die "server $card->{server} is not available (should be in $prefix$card->{prog})"; } -- cgit v1.2.1