mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Update upgrade
This commit is contained in:
parent
9e75329944
commit
e64aaae808
1 changed files with 15 additions and 0 deletions
|
@ -30,6 +30,8 @@ popd
|
|||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1
|
||||
|
||||
ynh_exec_warn_less mkdir "$install_dir/sessions"
|
||||
ynh_exec_warn_less mkdir "$install_dir/soap_cache"
|
||||
ynh_exec_warn_less mkdir "$install_dir/composer"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
@ -40,6 +42,19 @@ pushd "$install_dir"
|
|||
ynh_exec_warn_less mv /tmp/config.php .
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC SETUP
|
||||
#=================================================
|
||||
# INSTALL COMPOSER DEPENDENCIES
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing composer dependencies..." --weight=1
|
||||
|
||||
ynh_exec_warn_less ynh_install_composer --phpversion="$phpversion" --composerversion="$YNH_COMPOSER_VERSION" --workdir="$install_dir"
|
||||
|
||||
# worckaround while https://github.com/chartjs/Chart.js/issues/11478 is not fixed
|
||||
ynh_exec_warn_less mkdir "$install_dir/vendor/chartjs"
|
||||
ynh_exec_warn_less curl -o "$install_dir/vendor/chartjs"/chart.js https://cdn.jsdelivr.net/npm/chart.js
|
||||
|
||||
#=================================================
|
||||
# PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue