Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix #30003
Fix #30003
  • Loading branch information
solracsf authored and blizzz committed Jun 21, 2022
commit bebf888c726fbac9f9c972af1e5f81247d22fd9d
4 changes: 2 additions & 2 deletions lib/private/App/AppStore/Bundles/HubBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public function getAppIdentifiers() {
'mail',
];

$architecture = php_uname('m');
if (PHP_OS_FAMILY === 'Linux' && in_array($architecture, ['x86_64', 'aarch64'])) {
$architecture = function_exists('php_uname') ? php_uname('m') : null;
if (isset($architecture) && PHP_OS_FAMILY === 'Linux' && in_array($architecture, ['x86_64', 'aarch64'])) {
$hubApps[] = 'richdocuments';
$hubApps[] = 'richdocumentscode' . ($architecture === 'aarch64' ? '_arm64' : '');
}
Expand Down