Skip to content

Commit

Permalink
Fix for RRF version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishamm committed Jan 25, 2024
1 parent bd8af33 commit f0aed16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi
VERSION=`echo $1 | sed 's/-/~/g'`

# Determine the corresponding RRF package version. There may be multiple RRF packages per DSF version
RRF_VERSION=`apt-cache show reprapfirmware | grep "Version:" | cut -d ' ' -f 2 | grep "$VERSION" | head -n 1`
RRF_VERSION=`apt-cache show reprapfirmware | grep "Version:" | cut -d ' ' -f 2 | grep "$VERSION-" | head -n 1`
if [[ -z "$RRF_VERSION" ]]; then
echo "Could not find RepRapFirmware package for version $1. Invalid version or wrong package feed?"
exit 1
Expand Down

0 comments on commit f0aed16

Please sign in to comment.