diff --git a/scripts/change_url b/scripts/change_url index 14c221d..549d588 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -76,6 +76,16 @@ then ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf" fi +#================================================= +# SPECIFIC MODIFICATIONS +#================================================= +ynh_print_info "Applying Kanboard specific modifications..." + +if [ $change_domain -eq 1 ] +then + # Change domain in Kanboard configuration + ynh_replace_string --match_string="'${old_domain}'" --replace_string="'${new_domain}'" --target_file="${final_path}/config.php" +fi #================================================= # GENERIC FINALISATION #=================================================