1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/osticket_ynh.git synced 2024-09-03 19:56:17 +02:00

Merge pull request #73 from orhtej2/Dirfix

Fixup composer dir
This commit is contained in:
eric_G 2023-11-12 09:03:03 +01:00 committed by GitHub
commit 7f0470b24c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,9 +63,11 @@ chown $app:www-data "$install_dir/include/ost-config.php"
#================================================= #=================================================
ynh_script_progression --message="Building plugins..." --weight=1 ynh_script_progression --message="Building plugins..." --weight=1
ynh_exec_as $app mkdir -p "$install_dir/include/plugins/build/.config/composer" mkdir -p "$install_dir/include/plugins/build/.config/composer"
export COMPOSER_HOME="$install_dir/include/plugins/build/.config/composer" chmod 666 "$install_dir/include/plugins/build/.config/composer"
chown $app:www-data "$install_dir/include/plugins/build/.config/composer"
export COMPOSER_HOME="$install_dir/include/plugins/build/.config/composer"
pushd "$install_dir/include/plugins/build" pushd "$install_dir/include/plugins/build"
ynh_exec_warn_less ynh_exec_as $app php$phpversion make.php hydrate ynh_exec_warn_less ynh_exec_as $app php$phpversion make.php hydrate
ynh_exec_warn_less ynh_exec_as $app php$phpversion -dphar.readonly=0 make.php build auth-cas ynh_exec_warn_less ynh_exec_as $app php$phpversion -dphar.readonly=0 make.php build auth-cas