Commit cc447b25 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

do not generate the site's virtual host before the site is

successfully installed
parent 3d63bb62
...@@ -7,17 +7,11 @@ ...@@ -7,17 +7,11 @@
* Provision hooks for the install command * Provision hooks for the install command
*/ */
/**
* Implementation of hook_provision_pre_install
*/
function drush_provision_apache_pre_provision_install($url = NULL) {
return _provision_apache_create_vhost_config($url);
}
/** /**
* Implementation of hook_provision_post_install * Implementation of hook_provision_post_install
*/ */
function drush_provision_apache_post_provision_install($url = NULL) { function drush_provision_apache_post_provision_install($url = NULL) {
return _provision_apache_restart_apache(); _provision_apache_create_vhost_config($url);
_provision_apache_restart_apache();
} }
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