From f2b8882129e1a7622631820d08f32fba2fe20c9b Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Mon, 24 Jan 2022 10:41:31 -0500 Subject: [PATCH] Update install_services.sh --- scripts/install_services.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_services.sh b/scripts/install_services.sh index 5a18dcb..2d73673 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -489,7 +489,7 @@ EOF } install_nomachine() { - if [ ! -d /usr/share/NX ];then + if [ ! -d /usr/share/NX ] && [ -d /etc/lightdm ];then echo "Installing NoMachine" curl -s -o ${HOME}/nomachine.deb -O "${nomachine_url}" apt install -y ${HOME}/nomachine.deb