From 7568b614447eb0d6f93a578837d1d5ea79e71936 Mon Sep 17 00:00:00 2001 From: Simponic Date: Sat, 11 Feb 2023 23:37:47 -0700 Subject: Format buildscripts (pretty unsubstantial but needed to happen :3) --- buildscripts/build/build_front.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'buildscripts/build/build_front.sh') diff --git a/buildscripts/build/build_front.sh b/buildscripts/build/build_front.sh index ed3cb8b..117f302 100755 --- a/buildscripts/build/build_front.sh +++ b/buildscripts/build/build_front.sh @@ -23,8 +23,8 @@ server { # Grab deps if [ $(which node) == "" ] then - curl -sSL https://deb.nodesource.com/setup_16.x | sudo bash - - sudo apt install -y nodejs + curl -sSL https://deb.nodesource.com/setup_16.x | sudo bash - + sudo apt install -y nodejs fi [ "$(which git)" != "" ] || sudo apt install -y git [ "$(which nginx)" != "" ] || sudo apt install -y nginx @@ -32,16 +32,16 @@ fi # Checkout source if [ ! -d $chessh_path ] then - mkdir -p $chessh_path - cd $chessh_path - git init - git remote add origin $chessh_source - git pull origin - git checkout main - git config pull.rebase true + mkdir -p $chessh_path + cd $chessh_path + git init + git remote add origin $chessh_source + git pull origin + git checkout main + git config pull.rebase true else - cd $chessh_path - git pull origin main + cd $chessh_path + git pull origin main fi # Build -- cgit v1.2.3-70-g09d2