From 2a364e0730f54f218a157b69cda8b77bbc645174 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 20 Jul 2025 01:42:19 +0900 Subject: [PATCH] updated install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 07991b4..6c6d07b 100755 --- a/install.sh +++ b/install.sh @@ -464,8 +464,8 @@ execute_script "03-Final-Check.sh" printf "\n%.0s" {1..1} -# Check if either hyprland or hyprland-git is installed -if dpkg -l | grep -qw hyprland; then +# Check if either hyprland or Hyprland files exist in /usr/local/bin/ +if [ -e /usr/local/bin/hyprland ] || [ -f /usr/local/bin/Hyprland ]; then printf "\n ${OK} 👌 Hyprland is installed. However, some essential packages may not be installed. Please see above!" printf "\n${CAT} Ignore this message if it states ${YELLOW}All essential packages${RESET} are installed as per above\n" sleep 2