Update jellyseerr.sh

tweak
This commit is contained in:
tteckster 2024-10-16 11:05:50 -04:00 committed by GitHub
parent e3160b56af
commit b323313d6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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