Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Feb 6, 2024
1 parent 98343f5 commit 9ccd016
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions pi-image/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9ccd016

Please sign in to comment.