Skip to content

Commit

Permalink
fix: Correctly find version string in updated website design
Browse files Browse the repository at this point in the history
  • Loading branch information
philclifford authored and flexiondotorg committed Sep 7, 2024
1 parent 4e8b6a4 commit 270ad99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion 01-main/packages/veracrypt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ case ${HOST_ARCH} in
esac
get_website "https://www.veracrypt.fr/en/Downloads.html"
if [ "${ACTION}" != "prettylist" ]; then
VERSION_PUBLISHED="$(grep 'Latest Stable Release' $CACHE_FILE |cut -d\ -f 5)"
VERSION_PUBLISHED=$(grep -Eo '/Linux: Version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ ' /var/cache/deb-get/veracrypt.html | cut -d\ -f3)

URL=$(unroll_url "https://launchpad.net/veracrypt/trunk/${VERSION_PUBLISHED}/+download/veracrypt-${VERSION_PUBLISHED}-${UPSTREAM_ID^}-${UPSTREAM_RELEASE}-${HOST_ARCH}.deb\"")
fi
PRETTY_NAME="Veracrypt"
Expand Down
3 changes: 2 additions & 1 deletion 01-main/packages/veracrypt-console
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ case ${HOST_ARCH} in
esac
get_website "https://www.veracrypt.fr/en/Downloads.html"
if [ "${ACTION}" != "prettylist" ]; then
VERSION_PUBLISHED="$(grep 'Latest Stable Release' $CACHE_FILE |cut -d\ -f 5)"
VERSION_PUBLISHED=$(grep -Eo '/Linux: Version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ ' /var/cache/deb-get/veracrypt.html | cut -d\ -f3)

URL=$(unroll_url "https://launchpad.net/veracrypt/trunk/${VERSION_PUBLISHED}/+download/veracrypt-console-${VERSION_PUBLISHED}-${UPSTREAM_ID^}-${UPSTREAM_RELEASE}-${HOST_ARCH}.deb\"")
fi
PRETTY_NAME="Veracrypt Console"
Expand Down

0 comments on commit 270ad99

Please # to comment.