1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

Remove the app dependencies on package removal

These app dependencies were installed along with php-fpm
This commit is contained in:
Florent 2021-09-28 20:30:15 +02:00 committed by Florent F
parent b9dd34329b
commit edf5c7143f
2 changed files with 5 additions and 2 deletions

View file

@ -26,7 +26,7 @@
"multi_instance": true,
"services": [
"nginx",
"php7.3-fpm"
"php7.4-fpm"
],
"arguments": {
"install" : [

View file

@ -40,8 +40,11 @@ ynh_remove_nginx_config
#=================================================
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=2
# Remove the app dependencies installed along with php-fpm
ynh_remove_app_dependencies
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config --package="$extra_php_dependencies"
ynh_remove_fpm_config
#=================================================
# GENERIC FINALIZATION