diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index e93aa2fc..73b64d01 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -112,8 +112,8 @@ for version; do archCommit="${archCommits[$arch]}" if wget --quiet --spider -O /dev/null -o /dev/null "$rawGitUrl/$archCommit/$dir/$arch/rootfs.tar.gz"; then variantArches+=( "$arch" ) - if [ "$arch" = 'riscv64' ] && [[ "$variant" != *uclibc* ]]; then - : # do not let "glibc" or "musl" be "latest" on riscv64 until they are no longer based on Debian Unstable / Alpine Edge + if [ "$arch" = 'riscv64' ] && [ "$variant" = 'glibc' ]; then + : # do not let "glibc" be "latest" on riscv64 until it is no longer based on Debian Unstable elif [ -z "${archLatestDir[$arch]:-}" ]; then # record the first supported directory per architecture for "latest" and friends archLatestDir["$arch"]="$dir/$arch"