mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
fix missing parametters import
This commit is contained in:
parent
f66ed50142
commit
9a17d1b46c
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@ ynh_script_progression --message="Ensuring downward compatibility..."
|
|||
# Upgrade from <0.2.1~ynh4:
|
||||
if ynh_compare_current_package_version --comparison lt --version 0.2.1~ynh4 || [ -z "$db_user" ]
|
||||
then
|
||||
# import old parameters
|
||||
registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open)
|
||||
registration_approval=$(ynh_app_setting_get --app="$app" --key=registration_approval)
|
||||
registration_reason=$(ynh_app_setting_get --app="$app" --key=registration_reason)
|
||||
# declaration of new parameters
|
||||
client_max_body_size="100M"
|
||||
media_image_max_size="2097152"
|
||||
|
|
Loading…
Reference in a new issue