Skip to content

Commit

Permalink
Update apt package lists before install (#1623)
Browse files Browse the repository at this point in the history
Resolves tiny-pilot/tinypilot-pro#1074

This PR runs `apt-get update` before installing our Debian packages to
ensure that the APT package index is up-to-date.

I have tested this fix in TinyPilot Pro:
* tiny-pilot/tinypilot-pro#1075

<a data-ca-tag
href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1623"><img
src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review
on CodeApprove" /></a>
  • Loading branch information
jdeanwallace authored Sep 13, 2023
1 parent 9fa1616 commit e592a56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bundler/bundle/install
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ readonly USTREAMER_DEBIAN_PACKAGE
TINYPILOT_DEBIAN_PACKAGE="$(ls tinypilot*.deb)"
readonly TINYPILOT_DEBIAN_PACKAGE

apt-get update
apt-get install -y \
"./${JANUS_DEBIAN_PACKAGE}" \
"./${USTREAMER_DEBIAN_PACKAGE}" \
Expand Down

0 comments on commit e592a56

Please sign in to comment.