1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-05-12 10:13:40 +02:00
parent cb3fc1bb2e
commit 418d61f29f

View file

@ -68,14 +68,7 @@ fi
# If fpm_usage doesn't exist, create it
if [ -z "${fpm_usage:-}" ]; then
# If the app is private, set the usage to low, otherwise to high.
if [ $(ynh_app_setting_get --app=$app --key=is_public) -eq 0 ]
then
usage=low
else
usage=high
fi
fpm_usage=$usage
fpm_usage=low
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
fi