scripts/install: Use apt-get instead of apt

Fixes "WARNING: apt does not have a stable CLI interface. Use with caution in scripts."
This commit is contained in:
busybox
2024-08-14 02:14:16 +02:00
committed by GitHub
parent ea3e4f3188
commit 14db362d63

View File

@@ -83,8 +83,8 @@ arch)
pacman -Sy --noconfirm --needed curl wget git jq >/dev/null || true
;;
ubuntu | debian | raspbian)
apt update -y >/dev/null
apt install -y curl wget git jq >/dev/null
apt-get update -y >/dev/null
apt-get install -y curl wget git jq >/dev/null
;;
centos | fedora | rhel | ol | rocky | almalinux | amzn)
if [ "$OS_TYPE" = "amzn" ]; then