From 7b4559c5e6989a86247f3c9215bfbedf7cc18a18 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 16 Sep 2024 17:28:31 +0200 Subject: [PATCH] fix: install script --- other/nightly/install.sh | 4 ++-- scripts/install.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/other/nightly/install.sh b/other/nightly/install.sh index c8731a961..09613e12b 100755 --- a/other/nightly/install.sh +++ b/other/nightly/install.sh @@ -5,6 +5,7 @@ set -e # Exit immediately if a command exits with a non-zero status ## $1 could be empty, so we need to disable this check #set -u # Treat unset variables as an error and exit set -o pipefail # Cause a pipeline to return the status of the last command that exited with a non-zero status +CDN="https://cdn.coollabs.io/coolify-nightly" DATE=$(date +"%Y%m%d-%H%M%S") VERSION="1.5" @@ -28,7 +29,6 @@ getAJoke() { echo -e "$JOKES\n" fi } -CDN="https://cdn.coollabs.io/coolify-nightly" OS_TYPE=$(grep -w "ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"') ENV_FILE="/data/coolify/source/.env" @@ -505,5 +505,5 @@ echo -e "\033[0;35m \033[0m" echo -e "\nYour instance is ready to use." echo -e "Please visit http://$(curl -4s https://ifconfig.io):8000 to get started.\n" -echo -e "WARNING: We recommend you backup your /data/coolify/source/.env file to a safe location, outside of this server." +echo -e "WARNING: We recommend you to backup your /data/coolify/source/.env file to a safe location, outside of this server." cp /data/coolify/source/.env /data/coolify/source/.env.backup diff --git a/scripts/install.sh b/scripts/install.sh index 165d0c07a..42a20862e 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -5,6 +5,7 @@ set -e # Exit immediately if a command exits with a non-zero status ## $1 could be empty, so we need to disable this check #set -u # Treat unset variables as an error and exit set -o pipefail # Cause a pipeline to return the status of the last command that exited with a non-zero status +CDN="https://cdn.coollabs.io/coolify" DATE=$(date +"%Y%m%d-%H%M%S") VERSION="1.5" @@ -28,7 +29,6 @@ getAJoke() { echo -e "$JOKES\n" fi } -CDN="https://cdn.coollabs.io/coolify" OS_TYPE=$(grep -w "ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"') ENV_FILE="/data/coolify/source/.env" @@ -505,5 +505,5 @@ echo -e "\033[0;35m \033[0m" echo -e "\nYour instance is ready to use." echo -e "Please visit http://$(curl -4s https://ifconfig.io):8000 to get started.\n" -echo -e "WARNING: We recommend you backup your /data/coolify/source/.env file to a safe location, outside of this server." +echo -e "WARNING: We recommend you to backup your /data/coolify/source/.env file to a safe location, outside of this server." cp /data/coolify/source/.env /data/coolify/source/.env.backup