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