mirror of https://github.com/tteck/Proxmox.git
parent
11c5f518a0
commit
6e7b5d8022
|
@ -63,16 +63,15 @@ else
|
||||||
msg_ok "pnpm is already installed."
|
msg_ok "pnpm is already installed."
|
||||||
fi
|
fi
|
||||||
msg_info "Updating $APP"
|
msg_info "Updating $APP"
|
||||||
systemctl stop jellyseerr
|
|
||||||
cd /opt/jellyseerr
|
cd /opt/jellyseerr
|
||||||
output=$(git pull)
|
output=$(git pull --no-rebase)
|
||||||
git pull &>/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."
|
||||||
systemctl start jellyseerr
|
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
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 New Issue