aboutsummaryrefslogtreecommitdiff
path: root/templates/drupal.sh.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/drupal.sh.erb')
-rw-r--r--templates/drupal.sh.erb6
1 files changed, 4 insertions, 2 deletions
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."
}