1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/airsonic_ynh.git synced 2024-09-03 18:06:14 +02:00

Update manifest.toml

Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
This commit is contained in:
Éric Gaspar 2023-07-18 12:18:33 +02:00 committed by GitHub
parent 0effb97402
commit 7b5a4e2803
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,4 +60,12 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "openjdk-11-jre ffmpeg"
packages = "ffmpeg"
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
"""