From 76ac57edf4ba2dd83202bc56304c5eee62ccafcc Mon Sep 17 00:00:00 2001 From: Marc Henderkes Date: Wed, 12 Mar 2025 09:07:26 +0100 Subject: [PATCH] download attr and libacl on linux --- src/SPC/command/DownloadCommand.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SPC/command/DownloadCommand.php b/src/SPC/command/DownloadCommand.php index 7bf82ebb..43dd143c 100644 --- a/src/SPC/command/DownloadCommand.php +++ b/src/SPC/command/DownloadCommand.php @@ -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);