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