diff --git a/scripts/install.sh b/scripts/install.sh index 641a700..1cd3279 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -3,7 +3,7 @@ cd $(dirname $0) cd .. tempDir=$(mktemp -d) sourceDir="./Website" -find . -name "*" -and -not -name "." -and -not -path "$sourceDir/*" -and -not -path $sourceDir -exec rm -rf {} + +find . -name "*" -and -not -name "." -and -not -name ".env" -and -not -path "$sourceDir/*" -and -not -path $sourceDir -exec rm -rf {} + rsync -a --delete ./src/ $tempDir rsync -a --delete $tempDir/ . rm -rf $tempDir \ No newline at end of file