Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
c85736ae
Commit
c85736ae
authored
Apr 16, 2010
by
anarcat
Committed by
anarcat
Apr 16, 2010
Browse files
fix messages in chown/chgrp
parent
9dc33dd9
Changes
1
Show whitespace changes
Inline
Side-by-side
platform/provision_drupal.drush.inc
View file @
c85736ae
...
...
@@ -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
(
'Change
d
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
"
));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment