Make installer work on centos 6 and warn that web ui is broken

This commit is contained in:
Eric Warnke 2016-10-24 22:31:15 -04:00
parent e36ff00227
commit 6c1df57965

View file

@ -849,6 +849,9 @@ updatePihole() {
configureSelinux() { configureSelinux() {
if [ -x "$(command -v getenforce)" ]; then if [ -x "$(command -v getenforce)" ]; then
# If selinux is disabled skip
getenforce | grep Disabled &> /dev/null && return
printf "\n::: SELinux Detected\n" printf "\n::: SELinux Detected\n"
printf ":::\tChecking for SELinux policy development packages..." printf ":::\tChecking for SELinux policy development packages..."
package_check_install "selinux-policy-devel" > /dev/null package_check_install "selinux-policy-devel" > /dev/null