From c5fe52309bcb484a2e8b89186d8cb18b25517d2b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 29 Dec 2009 19:04:13 -0200 Subject: Adding simple audit at drupal script --- templates/drupal.sh.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 5536069..e5956c8 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -115,9 +115,11 @@ function drupal_upgrade { fi # Change symlink to point to the new location - cd $BASE ; rm drupal-$drupal_series && ln -s drupal-$new drupal-$drupal_series - + cd $BASE ; rm -rf drupal-$drupal_series && ln -s drupal-$new drupal-$drupal_series + # Done + echo "Audit: `du -hs drupal-$old`" + echo "Audit: `du -hs drupal-$new`" echo "Check procedure and remove drupal-$old once you make sure that everything is fine." } -- cgit v1.2.3