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

Merge pull request #62 from fflorent/patch-1

Fix: On an upgrade failure, if this is due to a debian package conflict, the restoration also fails
This commit is contained in:
Robles Rodolphe 2021-10-06 17:42:13 +02:00 committed by GitHub
commit e8c8b2d5ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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