adding else back in

This commit is contained in:
Ric Harvey
2017-04-18 09:44:00 +01:00
parent dedba49d93
commit 79efb3170b

View File

@@ -18,6 +18,8 @@ fi
# Set custom webroot # Set custom webroot
if [ ! -z "$WEBROOT" ]; then if [ ! -z "$WEBROOT" ]; then
sed -i "s#root /var/www/html;#root ${WEBROOT};#g" /etc/nginx/sites-available/default.conf sed -i "s#root /var/www/html;#root ${WEBROOT};#g" /etc/nginx/sites-available/default.conf
else
webroot=/var/www/html
fi fi
# Setup git variables # Setup git variables