mirror of
https://github.com/YunoHost-Apps/traccar_ynh.git
synced 2024-09-03 20:35:56 +02:00
Fix compatibility for Bookworm
This commit is contained in:
parent
9b53734968
commit
b91e62f747
1 changed files with 9 additions and 1 deletions
|
@ -69,7 +69,15 @@ ram.runtime = "50M"
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "postgresql, openjdk-11-jre-headless"
|
packages = "postgresql"
|
||||||
|
|
||||||
|
packages_from_raw_bash = """
|
||||||
|
if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then
|
||||||
|
echo "openjdk-11-jre-headless";
|
||||||
|
elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then
|
||||||
|
echo "openjdk-17-jre-headless";
|
||||||
|
fi
|
||||||
|
"""
|
||||||
|
|
||||||
[resources.database]
|
[resources.database]
|
||||||
type = "postgresql"
|
type = "postgresql"
|
||||||
|
|
Loading…
Reference in a new issue