Skip to content

Commit

Permalink
fix update script
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Aug 21, 2024
1 parent 35beeba commit 08468f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pioreactor/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

import pytest

from pioreactor.cli import run


@pytest.fixture(autouse=True)
def run_around_tests(request):
Expand Down
2 changes: 1 addition & 1 deletion update_scripts/upcoming/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ sudo sed -i 's/create 0660 pioreactor pioreactor/create 0666 pioreactor pioreact


# update firmware to 0.3
sudo cp "$SCRIPT_DIR"/main.elf /usr/local/bin/main.elf || sudo wget https://github.com/Pioreactor/pico-build/releases/download/0.3/main.elf -o /usr/local/bin/main.elf
sudo cp "$SCRIPT_DIR"/main.elf /usr/local/bin/main.elf || sudo wget https://github.com/Pioreactor/pico-build/releases/download/0.3/main.elf -O /usr/local/bin/main.elf
sudo systemctl restart load_rp2040.service || :

0 comments on commit 08468f6

Please sign in to comment.