Просмотр исходного кода

Update octoprint.sh

set source
tteckster 2 лет назад
Родитель
Сommit
214e0d13d5
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      ct/octoprint.sh

+ 1 - 0
ct/octoprint.sh

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