Skip to content

Commit

Permalink
Only grab arm64 JARs when downloading photon
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Dec 31, 2022
1 parent a44e72c commit 1ed3b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stage2/01-sys-tweaks/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

mkdir -p "${ROOTFS_DIR}/opt/photonvision"
curl -sk "https://api.github.com/repos/photonvision/photonvision/releases/latest" |
grep "browser_download_url.*jar" |
grep "browser_download_url.*linuxarm64\.jar" |
cut -d : -f 2,3 |
tr -d '"' |
wget -qi - -O "${ROOTFS_DIR}/opt/photonvision/photonvision.jar"
Expand Down

0 comments on commit 1ed3b9c

Please sign in to comment.