Merge "Do not run selinux commands if it is disabled."
This commit is contained in:
commit
683ef75510
4
stack.sh
4
stack.sh
@ -565,7 +565,9 @@ fi
|
||||
if [[ is_fedora && $DISTRO =~ (rhel6) ]]; then
|
||||
# Avoid having to configure selinux to allow things like httpd to
|
||||
# access horizion files or run binaries like nodejs (LP#1175444)
|
||||
sudo setenforce 0
|
||||
if selinuxenabled; then
|
||||
sudo setenforce 0
|
||||
fi
|
||||
|
||||
# An old version (2.0.1) of python-crypto is probably installed on
|
||||
# a fresh system, via the dependency chain
|
||||
|
Loading…
x
Reference in New Issue
Block a user