1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leed_ynh.git synced 2024-09-03 19:26:32 +02:00

Fix _ynh_add_fpm_config

This commit is contained in:
Maniack Crudelis 2019-06-02 14:35:36 +02:00
parent 01d94cd0f6
commit a5154178fa
3 changed files with 5 additions and 1 deletions

View file

@ -108,7 +108,9 @@ ynh_add_fpm_config () {
fi
# Concatene the extra config.
cat ../conf/extra_php-fpm.conf >> "$finalphpconf"
if [ -e ../conf/extra_php-fpm.conf ]; then
cat ../conf/extra_php-fpm.conf >> "$finalphpconf"
fi
fi
sudo chown root: "$finalphpconf"
ynh_store_file_checksum --file="$finalphpconf"

View file

@ -8,6 +8,7 @@
source _common.sh
source /usr/share/yunohost/helpers
source _ynh_add_fpm_config
#=================================================
# MANAGE FAILURE OF THE SCRIPT

View file

@ -8,6 +8,7 @@
source _common.sh
source /usr/share/yunohost/helpers
source _ynh_add_fpm_config
#=================================================
# LOAD SETTINGS