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:
parent
cb3fc1bb2e
commit
418d61f29f
1 changed files with 1 additions and 8 deletions
|
@ -68,14 +68,7 @@ fi
|
||||||
|
|
||||||
# If fpm_usage doesn't exist, create it
|
# If fpm_usage doesn't exist, create it
|
||||||
if [ -z "${fpm_usage:-}" ]; then
|
if [ -z "${fpm_usage:-}" ]; then
|
||||||
# If the app is private, set the usage to low, otherwise to high.
|
fpm_usage=low
|
||||||
if [ $(ynh_app_setting_get --app=$app --key=is_public) -eq 0 ]
|
|
||||||
then
|
|
||||||
usage=low
|
|
||||||
else
|
|
||||||
usage=high
|
|
||||||
fi
|
|
||||||
fpm_usage=$usage
|
|
||||||
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
|
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue