From c85736ae97605a56d868920df804962d4aa827fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@koumbit.org>
Date: Fri, 16 Apr 2010 11:31:36 -0400
Subject: [PATCH] fix messages in chown/chgrp

---
 platform/provision_drupal.drush.inc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/platform/provision_drupal.drush.inc b/platform/provision_drupal.drush.inc
index c15328f8e..8aeef95e5 100644
--- a/platform/provision_drupal.drush.inc
+++ b/platform/provision_drupal.drush.inc
@@ -211,7 +211,7 @@ function _provision_drupal_create_settings_file($url = NULL) {
     dt('Could not change permissions of settings.php to @confirm'));
 
   provision_path("chgrp", "sites/$url/settings.php", drush_get_option('web_group'),
-    dt('Change group ownership of settings.php to @confirm'),
+    dt('Changed group ownership of settings.php to @confirm'),
     dt('Could not change group ownership of settings.php to @confirm'));
 }
 
@@ -264,14 +264,14 @@ function _provision_drupal_create_directories($url, $profile = NULL) {
   }
   foreach ($chown as $path => $owner) {
     provision_path("chown_recursive", $path, $owner,
-      dt("Changed ownership of <code>@path</code>"),
-      dt("Could not change ownership <code>@path</code>"),
+      dt("Changed ownership of <code>@path</code> to @confirm"),
+      dt("Could not change ownership <code>@path</code> to @confirm"),
      'DRUSH_PERM_ERROR' );
   }
   foreach ($chgrp as $path => $group) {
     provision_path("chgrp_recursive", $path, $group,
-      dt("Changed group ownership of <code>@path</code>"),
-      dt("Could not change group ownership <code>@path</code>"));
+      dt("Changed group ownership of <code>@path</code> to @confirm"),
+      dt("Could not change group ownership <code>@path</code> to @confirm"));
   }
 }
 
-- 
GitLab