mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-04 12:05:04 +02:00
#2810 try mute user interaction
This commit is contained in:
@@ -318,15 +318,16 @@ if [ "$1" = "update" ]; then
|
|||||||
"${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" || exit 1
|
"${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" || exit 1
|
||||||
|
|
||||||
# install deps
|
# install deps
|
||||||
# opt out of telemetry
|
|
||||||
sudo -u thunderhub npx next telemetry disable
|
|
||||||
echo "# Installing dependencies..."
|
echo "# Installing dependencies..."
|
||||||
sudo -u thunderhub npm install --quiet
|
sudo -u thunderhub npm install --quiet --yes
|
||||||
if ! [ $? -eq 0 ]; then
|
if ! [ $? -eq 0 ]; then
|
||||||
echo "# FAIL - npm install did not run correctly, aborting"
|
echo "# FAIL - npm install did not run correctly, aborting"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# opt out of telemetry
|
||||||
|
sudo -u thunderhub npx next telemetry disable
|
||||||
|
|
||||||
# build nextjs
|
# build nextjs
|
||||||
echo "# Building application..."
|
echo "# Building application..."
|
||||||
sudo -u thunderhub npm run build
|
sudo -u thunderhub npm run build
|
||||||
|
Reference in New Issue
Block a user