mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-10 12:49:33 +02:00
delete modules if available
This commit is contained in:
parent
7272771664
commit
4ef931f6c4
@ -86,6 +86,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
"${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" || exit 1
|
||||
|
||||
echo "Running npm install ..."
|
||||
sudo rm -r /home/thunderhub/thunderhub/node_modules 2>/dev/null
|
||||
if ! sudo -u thunderhub npm install; then
|
||||
echo "FAIL - npm install did not run correctly, aborting"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user