From 1c85db7f9e8bf1f70c2c9259c9e9ca9eaaab839a Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 15 Oct 2021 18:34:06 +0530 Subject: [PATCH] Add patch for Debian 12 and the distributions based on it --- src/scripts/tools/ppa.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/scripts/tools/ppa.sh b/src/scripts/tools/ppa.sh index c622cc02..b2f56f06 100644 --- a/src/scripts/tools/ppa.sh +++ b/src/scripts/tools/ppa.sh @@ -31,6 +31,10 @@ set_base_version() { else set_base_version_codename set_base_version_id + + # Remove once PPAs start having bookworm releases + [ "$VERSION_CODENAME" = 'bookworm' ] && VERSION_CODENAME="bullseye" + printf "ID=%s\nVERSION_ID=%s\nVERSION_CODENAME=%s\n" "$ID" "$VERSION_ID" "$VERSION_CODENAME" | tee /tmp/os-release >/dev/null 2>&1 fi }