mirror of
https://github.com/YunoHost-Apps/matrix-puppet-discord_ynh.git
synced 2024-09-03 19:36:25 +02:00
set userdomain to domain if not present
This commit is contained in:
parent
8d906ae53d
commit
f1cbd1392f
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,11 @@ user_config_path="$etc_path/user.config.yaml"
|
|||
pip_path="$final_path/.pip"
|
||||
app_service_registration_path=$(ynh_app_setting_get --app=$app --key=app_service_registration_path)
|
||||
|
||||
if [ -z "$user_domain" ]; then
|
||||
user_domain=$domain
|
||||
ynh_app_setting_set --app=$app --key=user_domain --value=$domain
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue