Commit 9cab65b8 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

handle platform wide paths in platform context

parent c1a08bdb
......@@ -44,16 +44,6 @@ function drush_provision_drupal_provision_verify($url = null) {
drush_set_option('sites', array_keys((array) provision_drupal_find_sites()), 'drupal');
drush_log(dt("This platform is running @short_name @version", array('@short_name' => 'drupal', '@version' => VERSION)));
drush_set_option('packages', _scrub_object(provision_find_packages()), 'drupal');
}
else {
drush_set_option('packages', _scrub_object(provision_drupal_system_map()), 'site');
// This is the actual drupal provisioning requirements.
_provision_drupal_create_directories($url);
_provision_drupal_maintain_aliases($url);
// Requires at least the database settings to complete.
_provision_drupal_create_settings_file($url);
}
$paths = array(
"sites/all/themes" => 0755,
"sites/all/modules" => 0755,
......@@ -71,7 +61,15 @@ function drush_provision_drupal_provision_verify($url = null) {
dt("Could not change permissions of <code>@path</code> to @confirm"),
'DRUSH_PERM_ERROR');
}
}
else {
drush_set_option('packages', _scrub_object(provision_drupal_system_map()), 'site');
// This is the actual drupal provisioning requirements.
_provision_drupal_create_directories($url);
_provision_drupal_maintain_aliases($url);
// Requires at least the database settings to complete.
_provision_drupal_create_settings_file($url);
}
}
......
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