Skip to content
Snippets Groups Projects
Unverified Commit 53402158 authored by Julius Härtl's avatar Julius Härtl
Browse files

Install richdocumentscode depending on the architecture


Signed-off-by: default avatarJulius Härtl <jus@bitgrid.net>
parent 498684ef
No related branches found
No related tags found
No related merge requests found
......@@ -33,13 +33,19 @@ class HubBundle extends Bundle {
}
public function getAppIdentifiers() {
return [
$hubApps = [
'spreed',
'contacts',
'calendar',
'mail',
'richdocumentscode',
'richdocuments',
];
$architecture = php_uname('m');
if (PHP_OS_FAMILY === 'Linux' && in_array($architecture, ['x86_64', 'aarch64'])) {
$hubApps[] = 'richdocuments';
$hubApps[] = 'richdocumentscode' . ($architecture === 'aarch64' ? '_arm64' : '');
}
return $hubApps;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment