Don't bail when setting up horizon on openSUSE
I85325179f1792d985b0375572abfe8c8a82fecc3 accidentally removed the conditional branch required to prevent setup of horizon aborting on openSUSE, so put it back in. Change-Id: Ia3e4464a2d718e402d84a0bcf60f13ef30404969
This commit is contained in:
@@ -130,6 +130,8 @@ function init_horizon() {
|
|||||||
HORIZON_REQUIRE='Require all granted'
|
HORIZON_REQUIRE='Require all granted'
|
||||||
fi
|
fi
|
||||||
sudo sed '/^Listen/s/^.*$/Listen 0.0.0.0:80/' -i /etc/httpd/conf/httpd.conf
|
sudo sed '/^Listen/s/^.*$/Listen 0.0.0.0:80/' -i /etc/httpd/conf/httpd.conf
|
||||||
|
elif is_suse; then
|
||||||
|
: # nothing to do
|
||||||
else
|
else
|
||||||
exit_distro_not_supported "apache configuration"
|
exit_distro_not_supported "apache configuration"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user