From 4e68dbc5a206cc1953e05a985efe9d3f922a4f14 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 26 Feb 2003 16:35:18 +0000 Subject: added code to handle more smootly if apache or apache-mod_perl is installed, or try using apache2. --- perl-install/standalone/drakpxe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakpxe') diff --git a/perl-install/standalone/drakpxe b/perl-install/standalone/drakpxe index 2489a8f05..00dd27407 100755 --- a/perl-install/standalone/drakpxe +++ b/perl-install/standalone/drakpxe @@ -220,7 +220,7 @@ Leave it blank if you do not want to set up automatic installation mode. my %rpm2file = ('dhcp-server' => '/usr/sbin/dhcpd', 'pxe' => '/usr/sbin/pxe', 'tftp-server' => '/usr/sbin/in.tftpd', - 'apache2' => '/usr/sbin/httpd2'); + if_(! -x '/usr/sbin/httpd' && ! -x '/usr/sbin/httpd-perl', 'apache2' => '/usr/sbin/httpd2')); #- first: try to install all in one step my @needed_to_install = grep { !-e $rpm2file{$_} } keys %rpm2file; -- cgit v1.2.1