Fixes and updates

This commit is contained in:
2025-05-16 11:51:43 +02:00
parent 119ab1675e
commit 6150b37ae2
2 changed files with 63 additions and 39 deletions

View File

@@ -15,7 +15,7 @@ fi
if ! command -v podman &>/dev/null && ! command -v docker &>/dev/null; then
CHOICE=$(whiptail --title "Container Engine" --menu "Choose a container engine to install" 15 60 2 \
"docker" "Docker" \
"podman" "Podman" 3>&1 1>&2 2>&3)
"podman" "Podman (Recommended)" 3>&1 1>&2 2>&3)
case $CHOICE in
docker)
@@ -99,12 +99,12 @@ for CHOICE in $CHOICES; do
distrobox-create --yes --name almalinux \
--image docker.io/library/almalinux:latest --init --pull --nvidia \
--home /home/"$USER"/distrobox/almalinux \
--additional-packages "systemd sudo git zsh nano wget curl fastfetch"
--additional-packages "systemd sudo git zsh nano wget curl"
else
distrobox-create --yes --name almalinux \
--image docker.io/library/almalinux:latest --init --pull \
--home /home/"$USER"/distrobox/almalinux \
--additional-packages "systemd sudo git zsh nano wget curl fastfetch"
--additional-packages "systemd sudo git zsh nano wget curl"
fi
;;
opensuse-tumbleweed)
@@ -120,19 +120,6 @@ for CHOICE in $CHOICES; do
--additional-packages "systemd sudo git zsh nano wget curl fastfetch"
fi
;;
steamos)
if lspci | grep -i nvidia &>/dev/null; then
distrobox-create --yes --name steamos \
--image ghcr.io/linuxserver/steamos:latest --init --pull --nvidia \
--home /home/"$USER"/distrobox/steamos \
--additional-packages "systemd sudo git zsh nano wget curl fastfetch"
else
distrobox-create --yes --name steamos \
--image ghcr.io/linuxserver/steamos:latest --init --pull \
--home /home/"$USER"/distrobox/steamos \
--additional-packages "systemd sudo git zsh nano wget curl fastfetch"
fi
;;
void)
if lspci | grep -i nvidia &>/dev/null; then
distrobox-create --yes --name void \