Update jellyseerr.sh

tweak
This commit is contained in:
tteckster 2024-10-17 04:27:26 -04:00 committed by GitHub
parent 11c5f518a0
commit 6e7b5d8022
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,16 +63,15 @@ else
msg_ok "pnpm is already installed."
fi
msg_info "Updating $APP"
systemctl stop jellyseerr
cd /opt/jellyseerr
output=$(git pull)
git pull &>/dev/null
output=$(git pull --no-rebase)
if echo "$output" | grep -q "Already up to date."
then
msg_ok "$APP is already up to date."
systemctl start jellyseerr
exit
fi
systemctl stop jellyseerr
git pull --no-rebase &>/dev/null
export CYPRESS_INSTALL_BINARY=0
pnpm install --frozen-lockfile &>/dev/null
export NODE_OPTIONS="--max-old-space-size=3072"