Skip to content

Commit

Permalink
wget openaps.jq instead of symlinking to the 20210712211734 version
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Sep 19, 2022
1 parent 12d6024 commit 7c85d32
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/oref0-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,12 @@ if prompt_yn "" N; then
#Build Go binaries
#go get -u -v -tags "$radiotags" github.com/ecc1/medtronic/... || die "Couldn't go get medtronic"
go install -v -tags "$radiotags" github.com/ecc1/medtronic/cmd/...@latest || die "Couldn't go get medtronic"
ln -sf /root/go/pkg/mod/github.com/ecc1/[email protected]/cmd/pumphistory/openaps.jq $directory/ || die "Couldn't softlink openaps.jq"
#ln -sf /root/go/pkg/mod/github.com/ecc1/[email protected]/cmd/pumphistory/openaps.jq $directory/ || die "Couldn't softlink openaps.jq"
if [[ -f $directory/openaps.jq ]]; then
ls -la $directory/openaps.jq
else
cd $directory && wget https://raw.githubusercontent.com/ecc1/medtronic/master/cmd/pumphistory/openaps.jq || die "Couldn't wget openaps.jq"
fi
else
#TODO: write validate_ttyport and support non-SPI ports
die "Unsupported ttyport. Exiting."
Expand Down

0 comments on commit 7c85d32

Please sign in to comment.