1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-03-11 17:56:08 +01:00
parent 7505c4566e
commit c8a0904331

View file

@ -29,17 +29,17 @@ ynh_systemd_action --service_name=$app --action=stop --log_path=systemd
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
if [ -z "$registration_enabled" ]; then
if [ -z "${registration_enabled:-}" ]; then
registration_enabled="true"
ynh_app_setting_set --app=$app --key=registration_enabled --value=$registration_enabled
fi
if [ -z "$login_enabled" ]; then
if [ -z "${login_enabled:-}" ]; then
login_enabled="true"
ynh_app_setting_set --app=$app --key=login_enabled --value=$login_enabled
fi
if [ -z "$captcha_enabled" ]; then
if [ -z "${captcha_enabled:-}" ]; then
captcha_enabled="true"
ynh_app_setting_set --app=$app --key=captcha_enabled --value=$captcha_enabled
fi