Fixes in scripts for fedora derivatives

This commit is contained in:
absurdo 2023-12-01 23:53:14 +01:00
parent 092a4ee969
commit 4dd7e4531f
4 changed files with 16 additions and 14 deletions

View file

@ -10,9 +10,11 @@ $conf_vhosts="IncludeOptional vhosts.d/*.conf";
Linux::json_log('Installing Apache server', $error=0, $status=0, $progress=0, $no_progress=1);
$redhat_package='mod_ssl openssl tar socat policycoreutils-python-utils wget';
$debian_package='apache2 logrotate socat curl';
$linux_package=['debian' => 'apache2 logrotate socat curl', 'ubuntu' => 'apache2 logrotate socat curl', 'fedora' => $redhat_package, 'almalinux' => $redhat_package, 'rocky' => $redhat_package, 'arch' => 'apache'];
$redhat_package='httpd mod_ssl openssl tar socat policycoreutils-python-utils wget';
$linux_package=['debian' => $debian_package, 'ubuntu' => $debian_package, 'fedora' => $redhat_package, 'almalinux' => $redhat_package, 'rocky' => $redhat_package, 'arch' => 'apache'];
Linux::install_package($linux_package);