From 01aea11808fcb8cc3e7881dd8332a162c4ebcd5b Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 3 May 2019 03:16:05 +0200 Subject: [PATCH] fix change_url --- scripts/change_url | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 0bff0b1..bb99a8a 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -87,12 +87,12 @@ fi #================================================= ynh_print_info --message="Updating Drush alias..." -cp -f "../conf/yoursite.aliases.drushrc.php" "$final_path/.drush/$app.aliases.drushrc.php" +cp -f "../conf/example.site.yml" "$final_path/drush/sites/$app.site.yml" -ynh_replace_string "__FINALPATH__" "$final_path" "$final_path/.drush/$app.aliases.drushrc.php" -ynh_replace_string "__APP__" "$app" "$final_path/.drush/$app.aliases.drushrc.php" -ynh_replace_string "__DOMAIN__" "$new_domain" "$final_path/.drush/$app.aliases.drushrc.php" -ynh_replace_string "__PATH_URL__" "$new_path" "$final_path/.drush/$app.aliases.drushrc.php" +ynh_replace_string "__FINALPATH__" "$final_path" "$final_path/drush/sites/$app.site.yml" +ynh_replace_string "__APP__" "$app" "$final_path/drush/sites/$app.site.yml" +ynh_replace_string "__DOMAIN__" "$domain" "$final_path/drush/sites/$app.site.yml" +ynh_replace_string "__PATH_URL__" "$path_url" "$final_path/drush/sites/$app.site.yml" #================================================= # GENERIC FINALISATION