From 17fe3bcae1923e861b61ba5b0bef80891a8246c5 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 26 Nov 2021 22:37:50 +0100 Subject: [PATCH] z2qtt: fixed init script yarn install using --cwd does not behave correctly --- CT-Files/z2mqtt/Scripts/Init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CT-Files/z2mqtt/Scripts/Init.sh b/CT-Files/z2mqtt/Scripts/Init.sh index 08ca3ce..e896d22 100644 --- a/CT-Files/z2mqtt/Scripts/Init.sh +++ b/CT-Files/z2mqtt/Scripts/Init.sh @@ -13,7 +13,7 @@ printf "frontend:\n port: 5002" >> /opt/node/zigbee2mqtt/data/configuration.yam #Install zwavejs2mqtt git clone https://github.com/zwave-js/zwavejs2mqtt /opt/node/zwavejs2mqtt -yarn --cwd /opt/node/zwavejs2mqtt install +(cd /opt/node/zwavejs2mqtt; yarn install) yarn --cwd /opt/node/zwavejs2mqtt run build #Save PM2 statup config