mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-22 08:12:29 +01:00
Fix setfacl task php 5.4 bug.
This commit is contained in:
parent
d4a2073cd4
commit
78d4d89a49
@ -35,7 +35,8 @@ task('deploy:permissions:setfacl', function () {
|
||||
|
||||
$dirs = (array)get('writeable_dirs', ['app/cache', 'app/logs']);
|
||||
|
||||
if (empty(run("if which setfacl; then echo \"ok\"; fi"))) {
|
||||
$run = run("if which setfacl; then echo \"ok\"; fi");
|
||||
if (empty($run)) {
|
||||
writeln('<comment>Enable ACL support and install "setfacl"</comment>');
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user