From f4761a2bb62eca9d59e76763d4b85cc7c6db5775 Mon Sep 17 00:00:00 2001 From: prplwtf Date: Wed, 15 May 2024 19:46:37 +0200 Subject: [PATCH] fix `core`: install/remove/export scripts weren't ran in the webserver directory --- blueprint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blueprint.sh b/blueprint.sh index 6a911b8..1646554 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -1399,6 +1399,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD=" # Run script while also parsing some useful variables for the install script to use. su "$WEBUSER" -s "$USERSHELL" -c " + cd \"$FOLDER\" EXTENSION_IDENTIFIER=\"$identifier\" \ EXTENSION_TARGET=\"$target\" \ EXTENSION_VERSION=\"$version\" \ @@ -1500,6 +1501,7 @@ if [[ ( $2 == "-r" ) || ( $2 == "-remove" ) ]]; then VCMD="y" # Run script while also parsing some useful variables for the uninstall script to use. su "$WEBUSER" -s "$USERSHELL" -c " + cd \"$FOLDER\" EXTENSION_IDENTIFIER=\"$identifier\" \ EXTENSION_TARGET=\"$target\" \ EXTENSION_VERSION=\"$version\" \ @@ -2010,6 +2012,7 @@ if [[ ( $2 == "-export" || $2 == "-e" ) ]]; then VCMD="y" # Run script while also parsing some useful variables for the export script to use. su "$WEBUSER" -s "$USERSHELL" -c " + cd \"$FOLDER\" EXTENSION_IDENTIFIER=\"$conf_info_identifier\" \ EXTENSION_TARGET=\"$conf_info_target\" \ EXTENSION_VERSION=\"$conf_info_version\" \