prepared install sh to run within webinstaller

This commit is contained in:
gyurix
2024-08-13 13:23:02 +02:00
parent 277be66c6e
commit 06b34d72db
2 changed files with 34 additions and 31 deletions

View File

@@ -257,7 +257,7 @@ execute_task() {
elif [ "$TASK_NAME" == "install" ]; then
# TODO - start install.sh
sh /scripts/install.sh "$B64_JSON"
sh /scripts/install.sh "$B64_JSON" "$service-exec"
JSON_TARGET=$(echo '{ "DATE": "'$DATE'", "INSTALL_STATUS": 1 }' | jq -r . | base64 -w0); # TEST
#JSON_TARGET=$(echo '{ "DATE": "'$DATE'", "INSTALL_STATUS": "'$INSTALL_STATUS'", "INSTALLED_SERVICES": {'$SERVICES'} }' | jq -r . | base64 -w0);