From 886ff1d9649a10026654705fef6ded3ab7453452 Mon Sep 17 00:00:00 2001 From: Phil Clifford Date: Mon, 2 Sep 2024 13:03:02 +0100 Subject: [PATCH] fix: correctly support bookworm and noble for veracrypt --- 01-main/packages/veracrypt | 11 ++++++----- 01-main/packages/veracrypt-console | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/01-main/packages/veracrypt b/01-main/packages/veracrypt index 956381a5..a82de92e 100644 --- a/01-main/packages/veracrypt +++ b/01-main/packages/veracrypt @@ -1,9 +1,10 @@ DEFVER=2 -ARCHS_SUPPORTED="amd64 arm64" -CODENAMES_SUPPORTED="buster bullseye focal jammy" -if [ "${ARCH}" == "amd64" ]; then - CODENAMES_SUPPORTED="${CODENAMES_SUPPORTED} noble bookworm" -fi +ARCHS_SUPPORTED="amd64 arm64 armhf" +case ${HOST_ARCH} in + amd64) CODENAMES_SUPPORTED="bullseye bookworm focal jammy noble" ;; + arm64) CODENAMES_SUPPORTED="bullseye bookworm focal jammy noble" ;; + armhf) CODENAMES_SUPPORTED="bullseye bookworm focal" ;; +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)" diff --git a/01-main/packages/veracrypt-console b/01-main/packages/veracrypt-console index 7dab8e62..3a2f6257 100644 --- a/01-main/packages/veracrypt-console +++ b/01-main/packages/veracrypt-console @@ -1,9 +1,10 @@ DEFVER=1 -ARCHS_SUPPORTED="amd64 arm64" -CODENAMES_SUPPORTED="buster bullseye focal jammy" -if [ "${ARCH}" == "amd64" ]; then - CODENAMES_SUPPORTED="${CODENAMES_SUPPORTED} noble bookworm" -fi +ARCHS_SUPPORTED="amd64 arm64 armhf" +case ${HOST_ARCH} in + amd64) CODENAMES_SUPPORTED="bullseye bookworm focal jammy noble" ;; + arm64) CODENAMES_SUPPORTED="bullseye bookworm focal jammy noble" ;; + armhf) CODENAMES_SUPPORTED="bullseye bookworm focal" ;; +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)"