From 46fb5e741504dee5c0ca8e6da34bd502224c2ab8 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 29 Apr 2024 20:51:52 +0200 Subject: [PATCH] fix Bookworm compatibility --- manifest.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index ede5024..6282704 100644 --- a/manifest.toml +++ b/manifest.toml @@ -78,7 +78,6 @@ ram.runtime = "200M" packages = [ "curl", "gpg", - "libdlib19", "ffmpeg", "exiftool", "libheif1", @@ -101,6 +100,14 @@ ram.runtime = "200M" "mariadb-server", ] + + packages_from_raw_bash = """ + if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then + echo "libdlib19"; + elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then + echo "libdlib19.1"; + fi + """ [resources.apt.extras.yarn] repo = "deb https://dl.yarnpkg.com/debian/ stable main"