diff options
-rwxr-xr-x | perl-install/standalone/drakpxe | 2 |
1 files changed, 1 insertions, 1 deletions
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; |