#2810 try mute user interaction

This commit is contained in:
rootzoll 2021-12-16 22:45:38 +01:00
parent a62f20c894
commit 9194a341ea

View file

@ -318,15 +318,16 @@ if [ "$1" = "update" ]; then
"${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" || exit 1
# install deps
# opt out of telemetry
sudo -u thunderhub npx next telemetry disable
echo "# Installing dependencies..."
sudo -u thunderhub npm install --quiet
sudo -u thunderhub npm install --quiet --yes
if ! [ $? -eq 0 ]; then
echo "# FAIL - npm install did not run correctly, aborting"
exit 1
fi
# opt out of telemetry
sudo -u thunderhub npx next telemetry disable
# build nextjs
echo "# Building application..."
sudo -u thunderhub npm run build