From 1807f21a34480c3c950be3d126e587b5df58f9bd Mon Sep 17 00:00:00 2001 From: SoftFever Date: Sun, 21 Apr 2024 18:51:24 +0800 Subject: [PATCH] support debian 12 --- BuildLinux.sh | 5 +++++ linux.d/{ubuntu => debian} | 0 2 files changed, 5 insertions(+) rename linux.d/{ubuntu => debian} (100%) diff --git a/BuildLinux.sh b/BuildLinux.sh index 1a217c6830..9b4709b6e4 100755 --- a/BuildLinux.sh +++ b/BuildLinux.sh @@ -79,6 +79,11 @@ then fi DISTRIBUTION=$(awk -F= '/^ID=/ {print $2}' /etc/os-release) +# treat ubuntu as debian +if [ "${DISTRIBUTION}" == "ubuntu" ] +then + DISTRIBUTION="debian" +fi if [ ! -f ./linux.d/${DISTRIBUTION} ] then echo "Your distribution does not appear to be currently supported by these build scripts" diff --git a/linux.d/ubuntu b/linux.d/debian similarity index 100% rename from linux.d/ubuntu rename to linux.d/debian