From f8cd2bb805c3310c6e0a32f3b1fdacf5069135a1 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Mon, 23 Jun 2014 19:43:19 +0000 Subject: [PATCH] typo: www/default/index.html would be overwritten if it already exists --- setup/web.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/web.sh b/setup/web.sh index 8d015b1f..e5c29458 100755 --- a/setup/web.sh +++ b/setup/web.sh @@ -20,7 +20,7 @@ cp conf/nginx-ssl.conf /etc/nginx/nginx-ssl.conf # make a default homepage if [ -d $STORAGE_ROOT/www/static ]; then mv $STORAGE_ROOT/www/static $STORAGE_ROOT/www/default; fi # migration mkdir -p $STORAGE_ROOT/www/default -if [ ! -f STORAGE_ROOT/www/default/index.html ]; then +if [ ! -f $STORAGE_ROOT/www/default/index.html ]; then cp conf/www_default.html $STORAGE_ROOT/www/default/index.html fi chown -R $STORAGE_USER $STORAGE_ROOT/www