„install.sh“ ändern

This commit is contained in:
Yann Mölle 2023-04-17 20:57:09 +02:00
parent 7a242cc586
commit 7816955d7f

View File

@ -25,14 +25,12 @@ fi
echo "Installing Docker..."
if [ "$DISTRO" = "debian" ] || [ "$DISTRO" = "ubuntu" ]; then
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/debian.sh)"
systemctl start docker
elif [ "$DISTRO" = "redhat" ]; then
bash -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/centos.sh)"
systemctl start docker
elif [ "$DISTRO" = "alpine" ]; then
sh -c "$(curl -L https://git.moelle.space/hxcde/docker-auto-installer/raw/branch/main/alpine.sh)"
fi
# Start Docker
echo "Starting Docker..."
systemctl start docker
echo "Docker and Docker Compose installation completed."
echo "Docker and Docker Compose installation completed."