From 8b4c2133cc1ba2dd19481c973e75ff88f2b60cf2 Mon Sep 17 00:00:00 2001
From: Kayou <pierre@kayou.io>
Date: Mon, 24 Jun 2024 15:32:52 +0200
Subject: [PATCH] add key=value args if not present in install_app script

---
 lib/tests.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/tests.sh b/lib/tests.sh
index 8d3fba7..3b2b671 100644
--- a/lib/tests.sh
+++ b/lib/tests.sh
@@ -130,6 +130,9 @@ _INSTALL_APP () {
             && continue
 
         install_args=$(echo $install_args | sed "s@\&$key=[^&]*\&@\&$key=$value\&@")
+        if ! echo $install_args | grep -q $key; then
+            install_args+="$key=$value&"
+        fi
     done
 
     # Note : we do this at this stage and not during the parsing of check_process