mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
download attr and libacl on linux
This commit is contained in:
@@ -81,6 +81,9 @@ class DownloadCommand extends BaseCommand
|
||||
$final_sources = array_merge($final_sources, array_diff($sources, $final_sources));
|
||||
}
|
||||
if (!empty($final_sources)) {
|
||||
if (PHP_OS_FAMILY === 'Linux') {
|
||||
array_unshift($final_sources, 'attr', 'libacl');
|
||||
}
|
||||
$input->setArgument('sources', implode(',', $final_sources));
|
||||
}
|
||||
parent::initialize($input, $output);
|
||||
|
||||
Reference in New Issue
Block a user