Skip to content

A live bird collage card for your Home Assistant dashboard.

Update update_services.sh

Patrick McGuire9c67ba9d53ac
diff --git a/scripts/update_services.sh b/scripts/update_services.sh
index 37023e77..2fc2864b 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