Joachim M. Giæver преди 1 година
родител
ревизия
2b52e5942e
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      src/hooks/connect-plug-zui-store

+ 4 - 0
src/hooks/connect-plug-zui-store

@@ -6,6 +6,10 @@ source $SNAP/helper/functions
 #$SNAP/bin/cpy-2-zui
 
 if snapctl is-connected zui-store; then
+	if [ -s "${SNAP_COMMON}/.eol" ]; then
+		lprint "Met EOL. ZUI «zwave-js-ui» should already be installed, configured and enabled on your system."
+		exit 1
+	fi
 	ZUI_STORE="${SNAP_COMMON}/zui-store"
 	lprint "ZUI-store is connected"
 	if [ "$(ls "${ZUI_STORE}" | wc -l)" -ne 0 ]; then