mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-16 20:45:02 +02:00
parent
b8e6ea062e
commit
b455bf8174
|
@ -75,7 +75,7 @@ class ReleaseTask extends AbstractTask implements IsReleaseAware, SkipOnOverride
|
|||
}
|
||||
|
||||
if ($resultFetch && $userGroup != '') {
|
||||
$command = 'chown -h ' . $userGroup . ' ' . $symlink
|
||||
$command = '(test ! -d '. $symlink .' || chown -h ' . $userGroup . ' ' . $symlink . ')'
|
||||
. ' && '
|
||||
. 'chown -R ' . $userGroup . ' ' . $currentCopy
|
||||
. ' && '
|
||||
|
|
Loading…
Reference in a new issue