Skip to content

Commit 79efb31

Browse files
author
Ric Harvey
committed
adding else back in
1 parent dedba49 commit 79efb31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/start.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ fi
1818
# Set custom webroot
1919
if [ ! -z "$WEBROOT" ]; then
2020
sed -i "s#root /var/www/html;#root ${WEBROOT};#g" /etc/nginx/sites-available/default.conf
21+
else
22+
webroot=/var/www/html
2123
fi
2224

2325
# Setup git variables

0 commit comments

Comments
 (0)