Commit 94791928 authored by UltimateByte's avatar UltimateByte Committed by GitHub
Browse files

hotfix for distro detection

parent fda3432c
......@@ -76,7 +76,7 @@ elif [ -d "/etc/httpd/conf.d/" ]&&[ ! -d "/etc/apache2/conf-enabled" ]; then
fn_logecho "[ INFO ] Detected httpd, hello RedHat based system"
apacheautodiscoverconf="/etc/httpd/conf.d/autodiscover.conf"
apacheservicename="httpd"
elif [ -d "/etc/httpd/conf.d" ]&&[ ! -d "/etc/apache2/conf-enabled" ]; then
elif [ ! -d "/etc/httpd/conf.d" ]&&[ -d "/etc/apache2/conf-enabled" ]; then
fn_logecho "[ INFO ] Detected apache2, hello Debian based system"
apacheautodiscoverconf="/etc/apache2/conf-enabled/autodiscover.conf"
apacheservicename="apache2"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment