Skip to content

Commit 2b04af3

Browse files
committed
✨ Also update bundled plugins alongside OctoPrint
1 parent 727cccf commit 2b04af3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/01-update-octoprint

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ export LC_ALL=C
66
source /common.sh
77
install_cleanup_trap
88

9+
BUNDLED="OctoPrint-FileCheck OctoPrint-FirmwareCheck OctoPrint-PiSupport"
10+
911
if [ -n "$OCTOPRINT_VERSION" ]; then
1012
# fetch from GitHub since PyPI might not yet be synced through right after a fresh release
11-
sudo -u pi /home/pi/oprint/bin/pip install -U https://github.com/OctoPrint/OctoPrint/archive/refs/tags/$OCTOPRINT_VERSION.zip
13+
sudo -u pi /home/pi/oprint/bin/pip install -U https://github.com/OctoPrint/OctoPrint/archive/refs/tags/$OCTOPRINT_VERSION.zip $BUNDLED
1214
else
13-
sudo -u pi /home/pi/oprint/bin/pip install -U OctoPrint
15+
sudo -u pi /home/pi/oprint/bin/pip install -U OctoPrint $BUNDLED
1416
fi

0 commit comments

Comments
 (0)