chore: Update install.sh script to version 1.3.2 and handle Linux Mint as Ubuntu

This commit is contained in:
Andras Bacsai 2024-06-09 15:52:23 +02:00
parent 45017efe00
commit 28c320ae97

View File

@ -6,7 +6,7 @@ set -e # Exit immediately if a command exits with a non-zero status
#set -u # Treat unset variables as an error and exit #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 set -o pipefail # Cause a pipeline to return the status of the last command that exited with a non-zero status
VERSION="1.3.1" VERSION="1.3.2"
DOCKER_VERSION="26.0" DOCKER_VERSION="26.0"
CDN="https://cdn.coollabs.io/coolify" CDN="https://cdn.coollabs.io/coolify"
@ -22,6 +22,11 @@ if [ "$OS_TYPE" = "pop" ]; then
OS_TYPE="ubuntu" OS_TYPE="ubuntu"
fi fi
# Check if the OS is linuxmint, if so, change it to ubuntu
if [ "$OS_TYPE" = "linuxmint" ]; then
OS_TYPE="ubuntu"
fi
if [ "$OS_TYPE" = "arch" ]; then if [ "$OS_TYPE" = "arch" ]; then
OS_VERSION="rolling" OS_VERSION="rolling"
else else