From f2f591c021a531f95d045dfb6281f7243491a8ec Mon Sep 17 00:00:00 2001 From: Benjy <123623302+brrock@users.noreply.github.com> Date: Thu, 15 Aug 2024 08:25:05 +0100 Subject: [PATCH] Fixes --- install-scripts/hyprland.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-scripts/hyprland.sh b/install-scripts/hyprland.sh index ac651e0..42a5972 100755 --- a/install-scripts/hyprland.sh +++ b/install-scripts/hyprland.sh @@ -27,7 +27,7 @@ MLOG="install-$(date +%d-%H%M%S)_hyprland2.log" # Install Hyprland printf "${NOTE} Installing Hyprland ...\n" # Get the OS ID from the release file -os_name=$(grep '^ID=' /etc/os-release | tr -d '"' | cut -d= -f2) +ID=$(grep '^ID=' /etc/os-release | cut -d= -f2 | tr -d '"') ID_LIKE=$(grep '^ID_LIKE=' /etc/os-release | cut -d= -f2 | tr -d '"') # Check if the OS is Debian or Ubuntu if [[ "$ID" == "debian" || ( "$ID_LIKE" == *"debian"* && "$ID" != "ubuntu" ) ]]; then