mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
download attr and libacl on linux
This commit is contained in:
parent
d15b387bea
commit
76ac57edf4
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user