Skip to content

Commit

Permalink
fix: align beersmith definition to revised website
Browse files Browse the repository at this point in the history
They have split legacy versions off to a second page and redesigned the
download page so replace dynamic parsing  for now
  • Loading branch information
philclifford committed Nov 5, 2024
1 parent b9bb8e7 commit 2765206
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions 01-main/packages/beersmith3
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
DEFVER=1
CODENAMES_SUPPORTED="bionic focal jammy mantic noble"
CODENAMES_SUPPORTED="bionic focal jammy mantic noble oracular"
get_website "https://beersmith.com/download-beersmith/"
if [ "${ACTION}" != "prettylist" ]; then
case ${UPSTREAM_CODENAME} in
bionic)
URL=$(grep -m 1 "18\.04_amd64\.deb\"" "${CACHE_FILE}" | cut -d'"' -f2)
URL="https://beersmith3-1.s3.amazonaws.com/BeerSmith-3.1.8_18.04_amd64.deb"
;;
focal)
URL=$( grep -m 1 "3\.2\.7_amd64\.deb\"" "${CACHE_FILE}" | cut -d'"' -f2)
URL="https://beersmith3-2.s3.amazonaws.com/BeerSmith-3.2.7_amd64.deb"
;;
jammy|mantic)
URL=$(grep -m 1 "amd64\.deb\"" "${CACHE_FILE}" | cut -d'"' -f2)
URL="https://beersmith3-2.s3.amazonaws.com/BeerSmith-3.2.8_amd64.deb"
;;
noble|oracular)
URL="https://beersmith3-2.s3.amazonaws.com/BeerSmith-3.2.8_24_04_amd64.deb"
;;
*)
URL=$(grep -m 1 "amd64\.deb\"" "${CACHE_FILE}"| cut -d'"' -f2)
URL="https://beersmith3-2.s3.amazonaws.com/BeerSmith-3.2.8_24_04_amd64.deb"
;;
esac

Expand Down

0 comments on commit 2765206

Please sign in to comment.