Update octoprint.sh

set source
This commit is contained in:
tteckster 2023-05-01 13:33:30 -04:00 committed by GitHub
parent e8bd1c21a0
commit 214e0d13d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ systemctl stop octoprint
msg_ok "Stopped OctoPrint"
msg_info "Updating OctoPrint"
source /opt/octoprint/bin/activate
pip3 install octoprint --upgrade &>/dev/null
msg_ok "Updated OctoPrint"