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

Merge pull request #8 from Thovi98/testing

make bookworm compatible
This commit is contained in:
eric_G 2024-04-29 22:05:47 +02:00 committed by GitHub
commit a3dce8e785
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"