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:
@@ -83,8 +83,8 @@ arch)
|
|||||||
pacman -Sy --noconfirm --needed curl wget git jq >/dev/null || true
|
pacman -Sy --noconfirm --needed curl wget git jq >/dev/null || true
|
||||||
;;
|
;;
|
||||||
ubuntu | debian | raspbian)
|
ubuntu | debian | raspbian)
|
||||||
apt update -y >/dev/null
|
apt-get update -y >/dev/null
|
||||||
apt install -y curl wget git jq >/dev/null
|
apt-get install -y curl wget git jq >/dev/null
|
||||||
;;
|
;;
|
||||||
centos | fedora | rhel | ol | rocky | almalinux | amzn)
|
centos | fedora | rhel | ol | rocky | almalinux | amzn)
|
||||||
if [ "$OS_TYPE" = "amzn" ]; then
|
if [ "$OS_TYPE" = "amzn" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user