diff --git a/ac.sh b/ac.sh index a2af01f..7692c0b 100644 --- a/ac.sh +++ b/ac.sh @@ -41,7 +41,7 @@ fi sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list - +sudo apt update -q # 检查操作系统 if grep -Eqi "debian" /etc/issue || grep -Eqi "debian" /proc/version; then OS="debian"