From 99fdd7fcb1542d1bd352a73b9384205418d61ce2 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 26 Apr 2021 13:42:50 +0200 Subject: experimental install script v2 --- config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config b/config index 43ebcd3..0cc6101 100755 --- a/config +++ b/config @@ -70,8 +70,8 @@ prod() { sed "s/CONNECT4_DEBUG=1/CONNECT4_DEBUG=0/" -i .env npx next build npx next export - rm -rfv $CONNECT4_WEB_ROOT - mv out $CONNECT4_WEB_ROOT + rm -rfv $CONNECT4_WEB_ROOT/* + mv out/* $CONNECT4_WEB_ROOT } if [[ -z $1 ]]; then -- cgit v1.2.3