Add patch for Debian 12 and the distributions based on it

This commit is contained in:
Shivam Mathur 2021-10-15 18:34:06 +05:30
parent d259dd49a2
commit 1c85db7f9e
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -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
}