switch to apt from apt-get

This commit is contained in:
MickLesk
2026-08-01 22:20:27 +02:00
parent a686666abd
commit d5d336698e
11 changed files with 29 additions and 24 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ if ! command -v curl &>/dev/null; then
if [[ -f "/etc/alpine-release" ]]; then
apk -U add curl >/dev/null 2>&1
else
apt-get update >/dev/null 2>&1
apt-get install -y curl >/dev/null 2>&1
apt update >/dev/null 2>&1
apt install -y curl >/dev/null 2>&1
fi
fi
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)