Update ac.sh
This commit is contained in:
2
ac.sh
2
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"
|
||||
|
||||
Reference in New Issue
Block a user