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:
parent
0effb97402
commit
7b5a4e2803
1 changed files with 9 additions and 1 deletions
|
@ -60,4 +60,12 @@ ram.runtime = "50M"
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
|
||||||
[resources.apt]
|
[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
|
||||||
|
"""
|
||||||
|
|
Loading…
Reference in a new issue