Changedetection update enhancements (#3933)

pull/3935/head
Jacob 1 month ago committed by GitHub
parent dbcb900da4
commit 9a0cb6b8f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -62,6 +62,16 @@ if ! dpkg -s libjpeg-dev >/dev/null 2>&1; then
fi fi
pip3 install changedetection.io --upgrade &>/dev/null pip3 install changedetection.io --upgrade &>/dev/null
pip3 install playwright --upgrade &>/dev/null pip3 install playwright --upgrade &>/dev/null
if [[ -f /etc/systemd/system/browserless.service ]]; then
git -C /opt/browserless/ pull &>/dev/null
npm update --prefix /opt/browserless &>/dev/null
npm run build --prefix /opt/browserless &>/dev/null
npm run build:function --prefix /opt/browserless &>/dev/null
npm prune production --prefix /opt/browserless &>/dev/null
systemctl restart browserless
else
msg_error "No Browserless Installation Found!"
fi
systemctl restart changedetection systemctl restart changedetection
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
exit exit

Loading…
Cancel
Save

Powered by BW's shoe-string budget.