diff --git a/lets-encrypt/activate-ssl.sh b/lets-encrypt/activate-ssl.sh index 73c85e18..27c43ebe 100644 --- a/lets-encrypt/activate-ssl.sh +++ b/lets-encrypt/activate-ssl.sh @@ -185,12 +185,12 @@ SSL_CREATE fi # Check if PHP-FPM is installed and if not, then remove PHP-FPM related lines from config -if [ ! -f "$PHP_POOL_DIR"/nextcloud.conf ] +if [ ! -f "$PHP_POOL_DIR"/nextcloud.conf ] then sed -i "s|/dev/null 2>&1 +elif ! is_this_installed php"$PHPVER"-fpm then sed -i "s|