diff --git a/README.md b/README.md index 7b45cd3..709d780 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Apache OFBiz is an open source product for the automation of enterprise processe **Shipped version:** 18.12.12~ynh1 + ## Documentation and resources - Official app website: diff --git a/README_eu.md b/README_eu.md index 07fbb2d..4409ed6 100644 --- a/README_eu.md +++ b/README_eu.md @@ -20,6 +20,7 @@ Apache OFBiz is an open source product for the automation of enterprise processe **Paketatutako bertsioa:** 18.12.12~ynh1 + ## Dokumentazioa eta baliabideak - Aplikazioaren webgune ofiziala: diff --git a/README_fr.md b/README_fr.md index 8831f5a..7d155b7 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,6 +20,7 @@ Apache OFBiz is an open source product for the automation of enterprise processe **Version incluse :** 18.12.12~ynh1 + ## Documentations et ressources - Site officiel de l’app : diff --git a/README_gl.md b/README_gl.md index 3cfdf01..7cb5e7c 100644 --- a/README_gl.md +++ b/README_gl.md @@ -20,6 +20,7 @@ Apache OFBiz is an open source product for the automation of enterprise processe **Versión proporcionada:** 18.12.12~ynh1 + ## Documentación e recursos - Web oficial da app: diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 575c7c3..dfe8d16 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -20,6 +20,7 @@ Apache OFBiz is an open source product for the automation of enterprise processe **分发版本:** 18.12.12~ynh1 + ## 文档与资源 - 官方应用网站: diff --git a/manifest.toml b/manifest.toml index bc8f5aa..87e2d16 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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"