Commit 43baf8d2 authored by anarcat's avatar anarcat

flush drush command cache before installing

otherwise the other provision commands will not work properly
parent e918bcc8
......@@ -49,6 +49,8 @@ case "$1" in
FLAGS="$FLAGS --http_service_type='$RET'"
# flush the drush cache to find new commands
su -s /bin/sh aegir -c 'drush cc drush'
su -s /bin/sh aegir -c 'drush --pipe @hostmaster status | egrep "site_uri|drupal_root"' >> $TEMPFILE || true
if grep -q 'site_uri' $TEMPFILE; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment