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/filtron.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/filtron.sh')
-rwxr-xr-x | utils/filtron.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/utils/filtron.sh b/utils/filtron.sh index 6c58b07a2..0fbf74787 100755 --- a/utils/filtron.sh +++ b/utils/filtron.sh @@ -441,14 +441,12 @@ This installs a reverse proxy (ProxyPass) into apache site (${APACHE_FILTRON_SIT ! 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 --variant=filtron "${APACHE_FILTRON_SITE}" |