From 5ec81808e845e4880b5020b74ece4a65d5e54af7 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 15 Oct 2022 03:12:12 +0100 Subject: [PATCH] Handle clap as format on repo plugin page Signed-off-by: falkTX --- repo/generate-repo-page.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/repo/generate-repo-page.sh b/repo/generate-repo-page.sh index 4b02c5f..bfa7e1e 100755 --- a/repo/generate-repo-page.sh +++ b/repo/generate-repo-page.sh @@ -159,7 +159,7 @@ for PACKAGE in ${PACKAGES[@]}; do # screenshot SCREENSHOT=${PACKAGE} if [ ! -f "./screenshots/${SCREENSHOT}.png" ]; then - SCREENSHOT=$(echo "${SCREENSHOT}" | sed "s/-lv2//g" | sed "s/-vst2//g" | sed "s/-vst3//g" | sed "s/-vst//g") + SCREENSHOT=$(echo "${SCREENSHOT}" | sed "s/-lv2//g" | sed "s/-vst2//g" | sed "s/-vst3//g" | sed "s/-vst//g" | sed "s/-clap//g") if [ ! -f "./screenshots/${SCREENSHOT}.png" ]; then SCREENSHOT="" fi @@ -232,6 +232,9 @@ for PACKAGE in ${PACKAGES[@]}; do if echo "${PACKAGE_PROVIDES}" | grep -q vst3-plugin; then echo "VST3 " fi + if echo "${PACKAGE_PROVIDES}" | grep -q clap-plugin; then + echo "CLAP " + fi echo "" fi fi