From 9ccd016e5536ee37e7ab256226f759c69a69c3d4 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Tue, 6 Feb 2024 17:18:50 +0000 Subject: [PATCH] fix --- pi-image/update.sh | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/pi-image/update.sh b/pi-image/update.sh index 79c4eee..bb82f42 100755 --- a/pi-image/update.sh +++ b/pi-image/update.sh @@ -64,6 +64,8 @@ if [ -n "$SELECTED_URL" ]; then # mv /tmp/satellite-update/*.rules /opt/companion-satellite/ rm -R /tmp/satellite-update + echo "$SELECTED_NAME" > /opt/companion-satellite/BUILD + # remove the old dependencies rm -R -f node_modules || true rm -R -f webui/node_modules || true @@ -73,22 +75,6 @@ else echo "Skipping update" fi - -# # install dependencies -# yarn config set httpTimeout 100000 -# yarn - -# # build typescript -# yarn build - -# # build webui -# cd webui -# yarn -# yarn build - -# # back to the main part -# cd .. - # update some tooling cp assets/linux/50-satellite.rules /etc/udev/rules.d/ udevadm control --reload-rules || true