From c3dc035f23c4f4674acf618083fc9becce7f604a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 18 Dec 2020 23:40:00 +0100 Subject: [PATCH] Don't override is_public if it's not a boolean --- lib/tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/tests.sh b/lib/tests.sh index 92ebf28..b680ebf 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -31,6 +31,12 @@ _INSTALL_APP () { do key="$(echo $arg_override | cut -d '=' -f 1)" value="$(echo $arg_override | cut -d '=' -f 2-)" + + # (Legacy stuff ... We don't override is_public if its type is not boolean) + [[ "$key" == "is_public" ]] \ + && [[ "$(jq -r '.arguments.install[] | select(.name=="is_public") | .type' manifest.json)" != "boolean" ]] \ + && continue + install_args=$(echo $install_args | sed "s@$key=[^&]*\&@$key=$value\&@") done