mirror of
https://github.com/YunoHost-Apps/streama_ynh.git
synced 2024-09-03 20:26:30 +02:00
Update manifest.toml: simplify conditional apt dep, rely on YNH_DEBIAN_VERSION
This commit is contained in:
parent
17729fcb1b
commit
767d33ec8c
1 changed files with 2 additions and 3 deletions
|
@ -61,10 +61,9 @@ ram.runtime = "50M"
|
|||
packages = "ffmpeg, mariadb-server"
|
||||
|
||||
packages_from_raw_bash = """
|
||||
debian=$(lsb_release --codename --short)
|
||||
if [[ $debian = "bullseye" ]]; then
|
||||
if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then
|
||||
echo "openjdk-11-jre";
|
||||
elif [[ $debian = "bookworm" ]]; then
|
||||
elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then
|
||||
echo "openjdk-17-jre";
|
||||
fi
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue