diff --git a/scripts/change_url b/scripts/change_url index 2bb06bf..5aad8f4 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -31,6 +31,7 @@ ynh_script_progression --message="Loading installation settings..." --weight=1 final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) access_domain=$(ynh_app_setting_get --app=$app --key=access_domain) +access_domain=$(echo $access_domain | sed "s@;@ @g") mail=$(ynh_app_setting_get --app=$app --key=mail) # Add settings here as needed by your application diff --git a/scripts/install b/scripts/install index 3d4c995..ab66bb0 100755 --- a/scripts/install +++ b/scripts/install @@ -35,6 +35,7 @@ if [ -z "$access_domain" ] then access_domain=$domain fi +access_domain=$(echo $access_domain | sed "s@;@ @g") mail="$app@$domain" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 57f3396..bffd043 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -27,6 +27,7 @@ db_user=$db_name db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) port=$(ynh_app_setting_get --app=$app --key=port) access_domain=$(ynh_app_setting_get --app=$app --key=access_domain) +access_domain=$(echo $access_domain | sed "s@;@ @g") mail=$(ynh_app_setting_get --app=$app --key=mail) redis_db=$(ynh_app_setting_get --app=$app --key=redis_db)