1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/streama_ynh.git synced 2024-09-03 20:26:30 +02:00

Update manifest.toml

This commit is contained in:
Éric Gaspar 2023-10-30 09:04:09 +01:00
parent f9ceeee635
commit 0b1b17062e

View file

@ -58,7 +58,16 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "openjdk-11-jre-headless, ffmpeg, mariadb-server"
packages = "ffmpeg, mariadb-server"
packages_from_raw_bash = """
debian=$(lsb_release --codename --short)
if [[ $debian = "bullseye" ]]; then
echo "openjdk-11-jre";
elif [[ $debian = "bookworm" ]]; then
echo "openjdk-17-jre";
fi
"""
[resources.database]
type = "mysql"