nothing to see here
This commit is contained in:
@@ -1,11 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
## Do not modify this file. You will lose the ability to install and auto-update!
|
## Do not modify this file. You will lose the ability to install and auto-update!
|
||||||
|
|
||||||
###########
|
VERSION="1.0.4"
|
||||||
## Always run "php artisan app:sync-to-bunny-cdn --env=secrets" or "scripts/run sync-bunny" if you update this file.
|
|
||||||
###########
|
|
||||||
|
|
||||||
VERSION="1.0.3"
|
|
||||||
DOCKER_VERSION="24.0"
|
DOCKER_VERSION="24.0"
|
||||||
|
|
||||||
CDN="https://cdn.coollabs.io/coolify"
|
CDN="https://cdn.coollabs.io/coolify"
|
||||||
@@ -18,6 +14,28 @@ if [ $EUID != 0 ]; then
|
|||||||
echo "Please run as root"
|
echo "Please run as root"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
# case "$OS_TYPE" in
|
||||||
|
# ubuntu | debian | raspbian)
|
||||||
|
# echo "Installing dependencies with APT..."
|
||||||
|
# apt update -y >/dev/null 2>&1
|
||||||
|
# apt install -y curl wget git jq >/dev/null 2>&1
|
||||||
|
# ;;
|
||||||
|
# centos | fedora | rhel | ol | rocky)
|
||||||
|
# echo "Installing dependencies with DNF..."
|
||||||
|
# dnf update -y >/dev/null 2>&1
|
||||||
|
# dnf install -y curl wget git jq >/dev/null 2>&1
|
||||||
|
# ;;
|
||||||
|
# sles | opensuse-leap | opensuse-tumbleweed)
|
||||||
|
# echo "Installing dependencies with Zypper..."
|
||||||
|
# zypper refresh >/dev/null 2>&1
|
||||||
|
# zypper install -y curl wget git jq >/dev/null 2>&1
|
||||||
|
# ;;
|
||||||
|
# *)
|
||||||
|
# echo "This script only supports Debian, Redhat or Sles based operating systems for now."
|
||||||
|
# exit
|
||||||
|
# ;;
|
||||||
|
# esac
|
||||||
|
|
||||||
if [ $OS_TYPE != "ubuntu" ] && [ $OS_TYPE != "debian" ] && [ $OS_TYPE != "raspbian" ]; then
|
if [ $OS_TYPE != "ubuntu" ] && [ $OS_TYPE != "debian" ] && [ $OS_TYPE != "raspbian" ]; then
|
||||||
echo "This script only supports Ubuntu and Debian for now."
|
echo "This script only supports Ubuntu and Debian for now."
|
||||||
exit
|
exit
|
||||||
@@ -41,7 +59,7 @@ echo -e "-------------"
|
|||||||
echo "Installing required packages..."
|
echo "Installing required packages..."
|
||||||
|
|
||||||
apt update -y >/dev/null 2>&1
|
apt update -y >/dev/null 2>&1
|
||||||
apt install -y curl wget git jq jc >/dev/null 2>&1
|
apt install -y curl wget git jq >/dev/null 2>&1
|
||||||
|
|
||||||
if ! [ -x "$(command -v docker)" ]; then
|
if ! [ -x "$(command -v docker)" ]; then
|
||||||
echo "Docker is not installed. Installing Docker..."
|
echo "Docker is not installed. Installing Docker..."
|
||||||
@@ -93,7 +111,6 @@ else
|
|||||||
systemctl restart docker
|
systemctl restart docker
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo -e "-------------"
|
echo -e "-------------"
|
||||||
|
|
||||||
mkdir -p /data/coolify/ssh/keys
|
mkdir -p /data/coolify/ssh/keys
|
||||||
|
Reference in New Issue
Block a user