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