diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-07 18:31:51 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-07 18:31:51 +0200 |
commit | ee39a098acb2386abd5382de5c9476cc4ffe2e03 (patch) | |
tree | 196b289570df3bd6e014a45da63a3b8825e92f1d /utils/morty.sh | |
parent | eb0d4646d818fe12032379aae2fcd8b5bdb6467e (diff) | |
download | searxng-ee39a098acb2386abd5382de5c9476cc4ffe2e03.tar.gz searxng-ee39a098acb2386abd5382de5c9476cc4ffe2e03.zip |
apache: normalize installation (docs and script)s over all distros
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/morty.sh')
-rwxr-xr-x | utils/morty.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/utils/morty.sh b/utils/morty.sh index 17039a05e..4de411999 100755 --- a/utils/morty.sh +++ b/utils/morty.sh @@ -402,15 +402,12 @@ This installs a reverse proxy (ProxyPass) into apache site (${APACHE_MORTY_SITE} ! apache_is_installed && err_msg "Apache is not installed." - if ! ask_yn "Do you really want to continue?"; then + if ! ask_yn "Do you really want to continue?" Yn; then return + else + install_apache fi - a2enmod headers - a2enmod proxy - a2enmod proxy_http - - echo apache_install_site "${APACHE_MORTY_SITE}" info_msg "testing public url .." |