mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Update upgrade: auto_upgrade_apps setting not initialized during upgrade if it doesnt exist, making config panel crash when upgrading from old versions ...
This commit is contained in:
parent
4c7cbe12c6
commit
7e681d3bc8
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ if [ -z "${phpflags:-}" ]; then
|
|||
ynh_app_setting_set --app=$app --key=phpflags --value=$phpflags
|
||||
fi
|
||||
|
||||
if [ -z "${auto_upgrade_apps:-}" ]; then
|
||||
ynh_app_setting_set --app=$app --key=auto_upgrade_apps --value="manual"
|
||||
fi
|
||||
|
||||
# Delete existing ini configuration file (backward compatibility)
|
||||
if [ -f /etc/php/$YNH_PHP_VERSION/fpm/conf.d/20-$app.ini ]; then
|
||||
ynh_secure_remove --file=/etc/php/$YNH_PHP_VERSION/fpm/conf.d/20-$app.ini
|
||||
|
|
Loading…
Add table
Reference in a new issue