From f445e369bc434099382c19d7d81953ba828353a2 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Wed, 1 May 2024 21:33:24 +0200 Subject: [PATCH] Update manifest.toml: fix bookworm compatibility --- manifest.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 1a4377e..7054abb 100644 --- a/manifest.toml +++ b/manifest.toml @@ -40,4 +40,12 @@ ram.runtime = "50M" main.exposed = "TCP" [resources.apt] - packages = ["squid3", "mailutils"] + packages = ["mailutils"] + + packages_from_raw_bash = """ + if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then + echo "squid3"; + elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then + echo "squid"; + fi + """