Compare commits

..

No commits in common. "0665e77a1c4f48aec7de129b6c806eac284d79d0" and "0618c89147314b04b4d345effc70b5d39fec0094" have entirely different histories.

1 changed files with 4 additions and 3 deletions

View File

@ -63,14 +63,16 @@ else
msg_ok "pnpm is already installed."
fi
msg_info "Updating $APP"
systemctl stop jellyseerr
cd /opt/jellyseerr
output=$(git pull --no-rebase &>/dev/null)
output=$(git pull)
git pull &>/dev/null
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
export CYPRESS_INSTALL_BINARY=0
pnpm install --frozen-lockfile &>/dev/null
export NODE_OPTIONS="--max-old-space-size=3072"
@ -90,7 +92,6 @@ ExecStart=/usr/bin/node dist/index.js
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl start jellyseerr
msg_ok "Updated $APP"
exit