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
93bd6ba2
Commit
93bd6ba2
authored
Apr 16, 2010
by
anarcat
Committed by
anarcat
Apr 16, 2010
Browse files
Merge origin/master
parents
c5b03c31
c85736ae
Changes
1
Show whitespace changes
Inline
Side-by-side
platform/provision_drupal.drush.inc
View file @
93bd6ba2
...
@@ -271,12 +271,12 @@ function _provision_drupal_create_directories($url, $profile = NULL) {
...
@@ -271,12 +271,12 @@ function _provision_drupal_create_directories($url, $profile = NULL) {
}
}
foreach
(
$chown
as
$path
=>
$owner
)
{
foreach
(
$chown
as
$path
=>
$owner
)
{
provision_service
(
'file'
)
->
chown
(
$path
,
$owner
,
TRUE
)
provision_service
(
'file'
)
->
chown
(
$path
,
$owner
,
TRUE
)
->
succeed
(
'Changed ownership of <code>@path</code>'
)
->
succeed
(
'Changed ownership of <code>@path</code>
to @uid
'
)
->
fail
(
'Could not change ownership <code>@path</code>'
,
'DRUSH_PERM_ERROR'
);
->
fail
(
'Could not change ownership <code>@path</code>'
,
'DRUSH_PERM_ERROR'
);
}
}
foreach
(
$chgrp
as
$path
=>
$group
)
{
foreach
(
$chgrp
as
$path
=>
$group
)
{
provision_service
(
'file'
)
->
chgrp
(
$path
,
$group
,
TRUE
)
provision_service
(
'file'
)
->
chgrp
(
$path
,
$group
,
TRUE
)
->
succeed
(
'Changed group ownership of <code>@path</code>'
)
->
succeed
(
'Changed group ownership of <code>@path</code>
to @gid
'
)
->
fail
(
'Could not change group ownership <code>@path</code>'
);
->
fail
(
'Could not change group ownership <code>@path</code>'
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
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