mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
fix fixme
This commit is contained in:
parent
9e69150deb
commit
ad4211f7e2
1 changed files with 10 additions and 10 deletions
|
@ -33,9 +33,9 @@ ynh_script_progression --message="Ensuring downward compatibility..."
|
||||||
if ynh_compare_current_package_version --comparison lt --version 0.2.1~ynh4 || [ -z "$db_user" ]
|
if ynh_compare_current_package_version --comparison lt --version 0.2.1~ynh4 || [ -z "$db_user" ]
|
||||||
then
|
then
|
||||||
# import old parameters
|
# import old parameters
|
||||||
#REMOVEME? registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open)
|
registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open)
|
||||||
#REMOVEME? registration_approval=$(ynh_app_setting_get --app="$app" --key=registration_approval)
|
registration_approval=$(ynh_app_setting_get --app="$app" --key=registration_approval)
|
||||||
#REMOVEME? registration_reason=$(ynh_app_setting_get --app="$app" --key=registration_reason)
|
registration_reason=$(ynh_app_setting_get --app="$app" --key=registration_reason)
|
||||||
# declaration of new parameters
|
# declaration of new parameters
|
||||||
client_max_body_size="100M"
|
client_max_body_size="100M"
|
||||||
media_image_max_size="2097152"
|
media_image_max_size="2097152"
|
||||||
|
@ -77,9 +77,9 @@ fi
|
||||||
if ynh_compare_current_package_version --comparison lt --version 0.3.7~ynh1 || [ -z "$instance_expose_peers" ]
|
if ynh_compare_current_package_version --comparison lt --version 0.3.7~ynh1 || [ -z "$instance_expose_peers" ]
|
||||||
then
|
then
|
||||||
# import old parameters
|
# import old parameters
|
||||||
#REMOVEME? registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open)
|
registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open)
|
||||||
#REMOVEME? registration_approval=$(ynh_app_setting_get --app="$app" --key=registration_approval)
|
registration_approval=$(ynh_app_setting_get --app="$app" --key=registration_approval)
|
||||||
#REMOVEME? registration_reason=$(ynh_app_setting_get --app="$app" --key=registration_reason)
|
registration_reason=$(ynh_app_setting_get --app="$app" --key=registration_reason)
|
||||||
# declaration of new parameters
|
# declaration of new parameters
|
||||||
instance_expose_peers="false"
|
instance_expose_peers="false"
|
||||||
instance_expose_suspended="false"
|
instance_expose_suspended="false"
|
||||||
|
@ -183,10 +183,10 @@ fi
|
||||||
if ynh_compare_current_package_version --comparison lt --version 0.8.0~ynh3
|
if ynh_compare_current_package_version --comparison lt --version 0.8.0~ynh3
|
||||||
then
|
then
|
||||||
# get settings from problem key
|
# get settings from problem key
|
||||||
#REMOVEME? allow_custom_css=$(ynh_app_setting_get --app="$app" --key=allow_custom_css)
|
allow_custom_css=$(ynh_app_setting_get --app="$app" --key=allow_custom_css)
|
||||||
#REMOVEME? approval_required=$(ynh_app_setting_get --app="$app" --key=approval_required)
|
approval_required=$(ynh_app_setting_get --app="$app" --key=approval_required)
|
||||||
#REMOVEME? reason_required=$(ynh_app_setting_get --app="$app" --key=reason_required)
|
reason_required=$(ynh_app_setting_get --app="$app" --key=reason_required)
|
||||||
#REMOVEME? registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open)
|
registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open)
|
||||||
# apply setting to correct key if set on old key
|
# apply setting to correct key if set on old key
|
||||||
if [ -n "$allow_custom_css" ]
|
if [ -n "$allow_custom_css" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue