fixed syntax issue with packageInstall

This commit is contained in:
Tonoxis
2021-09-09 23:18:22 -04:00
parent 6dfdbd4475
commit 825dd30aad

View File

@@ -11,8 +11,8 @@ class Package extends \Robo\Tasks
*/ */
function packageInstall($opts = ['prefix' => "/"]) function packageInstall($opts = ['prefix' => "/"])
{ {
$this->_copyDir([ $this->_copyDir(
'.ellipsis' => $opts['prefix'].'/etc/skel/.ellipsis'])->run(); '.ellipsis', $opts['prefix'].'/etc/skel/.ellipsis')->run();
$this->taskFilesystemStack() $this->taskFilesystemStack()
->copy(".firstlogin", $opts['prefix'].'/etc/skel/.firstlogin') ->copy(".firstlogin", $opts['prefix'].'/etc/skel/.firstlogin')
->copy(".zshrc", $opts['prefix'].'/etc/skel/.zshrc') ->copy(".zshrc", $opts['prefix'].'/etc/skel/.zshrc')