Fix setfacl task php 5.4 bug.

This commit is contained in:
Elfet 2014-08-13 13:07:10 +04:00
parent d4a2073cd4
commit 78d4d89a49

View File

@ -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;
}