1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Fix Google Recaptcha removal

This commit is contained in:
yalh76 2019-06-06 02:39:01 +02:00
parent 68c76e7209
commit e0cab94565
2 changed files with 12 additions and 2 deletions

View file

@ -120,6 +120,11 @@ chown -R "$app": "$final_path"
ynh_install_composer --phpversion="7.2" --workdir="$final_path"
# Fix Google Recaptcha removal
ynh_secure_remove --file="$final_path/bootstrap/cache"
mkdir -p "$final_path/bootstrap/cache"
ynh_composer_exec --phpversion="7.2" --workdir="$final_path" --commands="dump-autoload"
#=================================================
# SPECIFIC SETUP
#=================================================

View file

@ -145,12 +145,17 @@ ynh_add_fpm_config --phpversion="7.2"
#=================================================
# SPECIFIC UPGRADE
#=================================================
# INSTALL PHP DEPENDENCIES
# UPDATE PHP DEPENDENCIES
#=================================================
chown -R "$app": "$final_path"
ynh_install_composer --phpversion="7.2" --workdir="$final_path"
# Fix Google Recaptcha removal
ynh_secure_remove --file="$final_path/bootstrap/cache"
mkdir -p "$final_path/bootstrap/cache"
ynh_composer_exec --phpversion="7.2" --workdir="$final_path" --commands="dump-autoload"
ynh_composer_exec --phpversion="7.2" --workdir="$final_path" --commands="update"
#=================================================
# MODIFY A CONFIG FILE