mirror of
https://github.com/YunoHost-Apps/radarr_ynh.git
synced 2024-09-03 20:16:13 +02:00
12 lines
394 B
Bash
12 lines
394 B
Bash
#!/bin/bash
|
|
|
|
source /usr/share/yunohost/helpers
|
|
ynh_abort_if_errors
|
|
|
|
data_dir=$(ynh_app_setting_get --app=$app --key=data_dir)
|
|
|
|
run__external_authentication() {
|
|
ynh_replace_string --match_string="<AuthenticationMethod>[[:alnum:]]*</AuthenticationMethod>" --replace_string="<AuthenticationMethod>External</AuthenticationMethod>" --target_file="$data_dir/config.xml"
|
|
}
|
|
|
|
ynh_app_config_run $1
|