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:
parent
7505c4566e
commit
c8a0904331
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue