From 3bb722a6a298175331a9f4cea9b9447f3d5e44b0 Mon Sep 17 00:00:00 2001 From: frogerbytes-create Date: Wed, 15 Apr 2026 14:14:24 -0600 Subject: [PATCH] Update debian Changed from using grep VERSION_ID to using UBUNTU_CODENAME. This will fix anyone using a Ubuntu derive system from getting an error if that system version_id is different from Ubuntu's version number. --- linux.d/debian | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux.d/debian b/linux.d/debian index c076b25e..aef33f83 100644 --- a/linux.d/debian +++ b/linux.d/debian @@ -36,11 +36,11 @@ REQUIRED_DEV_PACKAGES=( if [[ -n "$UPDATE_LIB" ]] then # for ubuntu 22+ and 23+: - ubu_major_version="$(grep VERSION_ID /etc/os-release | cut -d "=" -f 2 | cut -d "." -f 1 | tr -d /\"/)" - if [ $ubu_major_version = "22" ] || [ $ubu_major_version = "23" ] + ubu_major_version="$(grep UBUNTU_CODENAME /etc/os-release | cut -d "=" -f 2 | tr -d /\"/)" + if [ $ubu_major_version = "jammy" ] || [ $ubu_major_version = "lunar" ] then REQUIRED_DEV_PACKAGES+=(libwebkit2gtk-4.0-dev curl libfuse-dev libssl-dev libcurl4-openssl-dev m4) - elif [ $ubu_major_version = "24" ] + elif [ $ubu_major_version = "noble" ] then REQUIRED_DEV_PACKAGES+=(libwebkit2gtk-4.1-dev) else