mirror of
https://github.com/YunoHost-Apps/osticket_ynh.git
synced 2024-09-03 19:56:17 +02:00
Merge pull request #8 from tituspijean/testing
[fix] set COMPOSER_HOME before building plugins
This commit is contained in:
commit
968bbaf2fa
2 changed files with 7 additions and 2 deletions
|
@ -139,6 +139,9 @@ admin_mail=$(ynh_user_get_info $admin 'mail')
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Building plugins..."
|
ynh_print_info --message="Building plugins..."
|
||||||
|
|
||||||
|
mkdir -p "$final_path/include/plugins/build/.config/composer"
|
||||||
|
COMPOSER_HOME="$final_path/include/plugins/build/.config/composer"
|
||||||
|
|
||||||
pushd "$final_path/include/plugins/build"
|
pushd "$final_path/include/plugins/build"
|
||||||
php make.php hydrate
|
php make.php hydrate
|
||||||
php -dphar.readonly=0 make.php build auth-cas
|
php -dphar.readonly=0 make.php build auth-cas
|
||||||
|
|
|
@ -150,6 +150,8 @@ ynh_print_info --message="Building plugins..."
|
||||||
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
|
mkdir -p "$final_path/include/plugins/build/.config/composer"
|
||||||
|
COMPOSER_HOME="$final_path/include/plugins/build/.config/composer"
|
||||||
pushd "$final_path/include/plugins/build"
|
pushd "$final_path/include/plugins/build"
|
||||||
php make.php hydrate
|
php make.php hydrate
|
||||||
php -dphar.readonly=0 make.php build auth-cas
|
php -dphar.readonly=0 make.php build auth-cas
|
||||||
|
|
Loading…
Add table
Reference in a new issue