From aa561221d7f0003c384a6b8621ab9f04056a6d0d Mon Sep 17 00:00:00 2001 From: ayanami Date: Tue, 5 Nov 2024 23:02:35 +0800 Subject: [PATCH] fix(#59): update the gendeps.sh to make it consistent with doc add debian match case fix #59 --- Scripts/gendeps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/gendeps.sh b/Scripts/gendeps.sh index 931bb150..2ea1b3cb 100755 --- a/Scripts/gendeps.sh +++ b/Scripts/gendeps.sh @@ -7,7 +7,7 @@ declare -A TOOLCHAINS make_labs_env() { case "${DIST}" in - "ubuntu") + "ubuntu" | "debian") if command -v gdb-multiarch &>/dev/null; then TOOLCHAINS["gdb"]="gdb-multiarch" else @@ -28,7 +28,7 @@ make_labs_env() { ;; *) error "Unsupported Linux Distribution: ${DIST}" - error "Supported OS Distributions are: ubuntu, fedora, arch, gentoo, opensuse" + error "Supported OS Distributions are: ubuntu/debian, fedora, arch, gentoo, opensuse" fatal "If you want to add support for your distribution, please submit a PR." ;; esac