From 1b22947b8ba7023c9917c616bb1b3978d58e1527 Mon Sep 17 00:00:00 2001 From: Marcel Stangenberger Date: Wed, 23 Jul 2025 15:23:15 +0200 Subject: [PATCH] multiple fixes --- deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index cc23960..74b5a3c 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,7 +1,7 @@ #!/bin/bash CODE=https://git.xo.nl/marcel/deploy/raw/branch/master -SECRET=https://git.xo.nl/marcel/secret/raw/branch/master +SECRET=https://git.xo.nl/marcel/secret/raw/branch/main GREEN='\033[0;32m' RED='\033[0;31m' NOCOL='\033[0m' @@ -17,11 +17,12 @@ setup) read USER echo -n "Git password: " read -s PASS + echo echo -e "${GREEN}Starting setup of $2${NOCOL}" sleep 2 curl -u $USER:$PASS -so /tmp/$2.tmp $SECRET/$2/setup.env bash -c "$(curl -fsSL $CODE/$2/setup.sh)" - rm -f /tmp/$1.tmp + rm -f /tmp/$2.tmp exit 0;; *) echo -r "${RED}application name not entered, exitting${NOCOL}"