From 9c67ba9d53ace7526b767597c8e3f89785f8caaf Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Mon, 24 Jan 2022 10:42:00 -0500 Subject: [PATCH] Update update_services.sh --- scripts/update_services.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_services.sh b/scripts/update_services.sh index 37023e7..2fc2864 100755 --- a/scripts/update_services.sh +++ b/scripts/update_services.sh @@ -484,7 +484,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