This commit is contained in:
starry
2025-12-17 23:57:14 +08:00
committed by GitHub
parent 0dbfd46c82
commit 76ce16fbb2
3 changed files with 3 additions and 21 deletions

View File

@@ -5,7 +5,6 @@ if [ ! -d /etc/apt/sources.list.d/ ]; then
mkdir -p /etc/apt/sources.list.d/
fi
# 检查操作系统并设置 PHP 仓库
if grep -Eqi "debian" /etc/issue || grep -Eqi "debian" /proc/version; then
OS="debian"
# Debian 系统设置 PHP 仓库