diff --git a/01-main/packages/veracrypt b/01-main/packages/veracrypt index a82de92e1..b91d8f057 100644 --- a/01-main/packages/veracrypt +++ b/01-main/packages/veracrypt @@ -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" diff --git a/01-main/packages/veracrypt-console b/01-main/packages/veracrypt-console index 3a2f6257d..6faebf815 100644 --- a/01-main/packages/veracrypt-console +++ b/01-main/packages/veracrypt-console @@ -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"