From 43ec837387e482da65c440df233ac0f55b39324f Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Mon, 16 Jul 2018 12:30:53 +0100 Subject: Split long lines --- 2.4/docker-entrypoint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/2.4/docker-entrypoint.sh b/2.4/docker-entrypoint.sh index e028709..8531931 100755 --- a/2.4/docker-entrypoint.sh +++ b/2.4/docker-entrypoint.sh @@ -92,10 +92,12 @@ fi if [ -e /privkey.pem ] && [ -e /cert.pem ]; then # Enable SSL Apache modules. for i in http2 ssl; do - sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "$HTTPD_PREFIX/conf/httpd.conf" + sed -e "/^#LoadModule ${i}_module.*/s/^#//" \ + -i "$HTTPD_PREFIX/conf/httpd.conf" done # Enable SSL vhost. - ln -sf ../sites-available/default-ssl.conf "$HTTPD_PREFIX/conf/sites-enabled" + ln -sf ../sites-available/default-ssl.conf \ + "$HTTPD_PREFIX/conf/sites-enabled" fi # Create directories for Dav data and lock database. -- cgit v1.2.3