Update package-debian.sh

This commit is contained in:
JieXu 2026-03-15 19:37:14 +08:00 committed by GitHub
parent 12b24f6e8d
commit be311ddb19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,12 +5,12 @@ set -euo pipefail
. /etc/os-release
case "${ID:-}" in
debian|ubuntu)
debian)
echo "Detected supported system: ${NAME:-$ID} ${VERSION_ID:-}"
;;
*)
echo "Unsupported system: ${NAME:-unknown} (${ID:-unknown})."
echo "This script only supports: Debian / Ubuntu."
echo "This script only supports: Debian."
exit 1
;;
esac