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