mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-05-12 17:04:48 +00:00
* ACS-5039 - fix libreoffice installation and set LIBREOFFICE_HOME for arm64 - aio * ACS-5039 - fix libreoffice installation and set LIBREOFFICE_HOME for arm64 - libreoffice * ACS-5039 - Libreoffice home set by script * ACS-5039 - Libreoffice home set by docker-entry point script * ACS-5039 - Added EOL
10 lines
307 B
Bash
Executable File
10 lines
307 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Check if the architecture is ARM64 (aarch64)
|
|
if [[ "$(uname -m)" != "x86_64" ]]; then
|
|
export LIBREOFFICE_HOME=${LIBREOFFICE_HOME:=/usr/lib64/libreoffice}
|
|
fi
|
|
|
|
# Run the Alfresco transformation service JAR file with the specified Java options
|
|
exec java $JAVA_OPTS -jar /usr/bin/${1}.jar "$@"
|