Skip to content

Commit

Permalink
#156: Only chown after site:create as otherwise install command fails
Browse files Browse the repository at this point in the history
  • Loading branch information
ercanozkaya committed Jun 1, 2022
1 parent 85c870c commit ca83492
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Joomlatools/Console/Command/Site/Download.php
Expand Up @@ -132,11 +132,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
`cp $directory/htaccess.txt $directory/.htaccess`;
}

if ($input->hasOption('chown')) {
$user = $input->getOption('chown');
`chown -R $user:$user $this->target_dir`;
}

return 0;
}

Expand Down

0 comments on commit ca83492

Please sign in to comment.