fix: install script
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user