mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Fix phpflags (#691)
This commit is contained in:
parent
cc45b8eba2
commit
38c2ecc365
1 changed files with 2 additions and 5 deletions
|
@ -13,11 +13,8 @@ ynh_script_progression --message="Ensuring downward compatibility..."
|
|||
# Remove the option backup_core_only if it's in the settings.yml file
|
||||
ynh_app_setting_delete --app=$app --key=backup_core_only
|
||||
|
||||
# If phpflags doesn't exist, create it
|
||||
if [ -z "${phpflags:-}" ]; then
|
||||
phpflags="--define apc.enable_cli=1"
|
||||
ynh_app_setting_set --app=$app --key=phpflags --value="$phpflags"
|
||||
fi
|
||||
phpflags="--define apc.enable_cli=1"
|
||||
ynh_app_setting_set --app=$app --key=phpflags --value="$phpflags"
|
||||
|
||||
if ynh_compare_current_package_version --comparison lt --version 22.2~ynh1
|
||||
then
|
||||
|
|
Loading…
Add table
Reference in a new issue