mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Apply suggestions from code review
This commit is contained in:
parent
001a2b6a1a
commit
9f056198d5
1 changed files with 2 additions and 2 deletions
|
@ -152,10 +152,10 @@ if [ "$phpversion" != $YNH_PHP_VERSION ]
|
|||
then
|
||||
ynh_backup_if_checksum_is_different --file="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
ynh_secure_remove --file="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
ynh_systemd_action --service_name="php${phpversion}-fpm" --action=reload
|
||||
if [ -f /etc/php/$phpversion/fpm/conf.d/20-$app.ini ]; then
|
||||
ynh_secure_remove --file="/etc/php/$phpversion/fpm/conf.d/20-$app.ini"
|
||||
fi
|
||||
ynh_systemd_action --service_name="php${phpversion}-fpm" --action=reload
|
||||
|
||||
phpversion="$YNH_PHP_VERSION"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue