1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ofbiz_ynh.git synced 2024-09-03 19:46:33 +02:00

make bookworm compatible

This commit is contained in:
Thomas 2024-04-29 18:47:36 +02:00 committed by GitHub
parent 0ec1ece6c7
commit a37d684ee7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,7 +51,14 @@ ram.runtime = "50M"
main.allowed = "admins"
[resources.apt]
packages = ["openjdk-11-jdk", "postgresql"]
packages = [ "postgresql"]
packages_from_raw_bash = """
if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then
echo "openjdk-11-jre";
elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then
echo "openjdk-17-jre";
fi
"""
[resources.database]
type = "postgresql"