From c0f807135d3da4d0973a48cc7e2c17558ea93ace Mon Sep 17 00:00:00 2001 From: Benjy <123623302+brrock@users.noreply.github.com> Date: Thu, 15 Aug 2024 08:23:01 +0100 Subject: [PATCH] Update hyprland.sh --- install-scripts/hyprland.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install-scripts/hyprland.sh b/install-scripts/hyprland.sh index 6eb79c6..ac651e0 100755 --- a/install-scripts/hyprland.sh +++ b/install-scripts/hyprland.sh @@ -23,11 +23,10 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" LOG="Install-Logs/install-$(date +%d-%H%M%S)_hyprland.log" MLOG="install-$(date +%d-%H%M%S)_hyprland2.log" -# Installation of dependencies # Install Hyprland printf "${NOTE} Installing Hyprland ...\n" -# Get the OS name from the release file +# Get the OS ID from the release file os_name=$(grep '^ID=' /etc/os-release | tr -d '"' | cut -d= -f2) ID_LIKE=$(grep '^ID_LIKE=' /etc/os-release | cut -d= -f2 | tr -d '"') # Check if the OS is Debian or Ubuntu