fix core
: install/remove/export scripts weren't ran in the webserver directory
This commit is contained in:
parent
9726ab8581
commit
f4761a2bb6
1 changed files with 3 additions and 0 deletions
|
@ -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\" \
|
||||
|
|
Loading…
Reference in a new issue