Update jellyseerr.sh
more tweaks
This commit is contained in:
parent
6e7b5d8022
commit
0665e77a1c
1 changed files with 1 additions and 2 deletions
|
@ -64,14 +64,13 @@ else
|
||||||
fi
|
fi
|
||||||
msg_info "Updating $APP"
|
msg_info "Updating $APP"
|
||||||
cd /opt/jellyseerr
|
cd /opt/jellyseerr
|
||||||
output=$(git pull --no-rebase)
|
output=$(git pull --no-rebase &>/dev/null)
|
||||||
if echo "$output" | grep -q "Already up to date."
|
if echo "$output" | grep -q "Already up to date."
|
||||||
then
|
then
|
||||||
msg_ok "$APP is already up to date."
|
msg_ok "$APP is already up to date."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
systemctl stop jellyseerr
|
systemctl stop jellyseerr
|
||||||
git pull --no-rebase &>/dev/null
|
|
||||||
export CYPRESS_INSTALL_BINARY=0
|
export CYPRESS_INSTALL_BINARY=0
|
||||||
pnpm install --frozen-lockfile &>/dev/null
|
pnpm install --frozen-lockfile &>/dev/null
|
||||||
export NODE_OPTIONS="--max-old-space-size=3072"
|
export NODE_OPTIONS="--max-old-space-size=3072"
|
||||||
|
|
Loading…
Reference in a new issue