Update jellyseerr.sh
tweak
This commit is contained in:
parent
e3160b56af
commit
b323313d6e
1 changed files with 1 additions and 2 deletions
|
@ -60,7 +60,7 @@ if ! command -v pnpm &> /dev/null; then
|
||||||
msg_error "pnpm not found. Installing..."
|
msg_error "pnpm not found. Installing..."
|
||||||
npm install -g pnpm &>/dev/null
|
npm install -g pnpm &>/dev/null
|
||||||
else
|
else
|
||||||
msg_info "pnpm is already installed."
|
msg_ok "pnpm is already installed."
|
||||||
fi
|
fi
|
||||||
msg_info "Updating $APP"
|
msg_info "Updating $APP"
|
||||||
systemctl stop jellyseerr
|
systemctl stop jellyseerr
|
||||||
|
@ -70,7 +70,6 @@ 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."
|
||||||
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
|
|
||||||
systemctl start jellyseerr
|
systemctl start jellyseerr
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue