1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-09 05:01:33 -05:00

Update install.sh

This commit is contained in:
Tommy 2021-11-02 01:39:38 -04:00 committed by GitHub
parent bce2300fa6
commit 1089dca092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -674,13 +674,13 @@ install_wings() {
output "Installing Docker" output "Installing Docker"
if [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" != "almalinux" ]; then if [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" != "almalinux" ]; then
dnf -y install podman-docker dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
systemctl enable --now podman.socket dnf -y install docker-ce
else else
curl -sSL https://get.docker.com/ | CHANNEL=stable bash curl -sSL https://get.docker.com/ | CHANNEL=stable bash
systemctl enable --now docker
fi fi
systemctl enable --now docker
output "Installing the Pterodactyl wings..." output "Installing the Pterodactyl wings..."
mkdir -p /etc/pterodactyl mkdir -p /etc/pterodactyl
cd /etc/pterodactyl || exit cd /etc/pterodactyl || exit