1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoview_ynh.git synced 2024-09-03 20:05:55 +02:00

fix Bookworm compatibility

This commit is contained in:
Thomas 2024-04-29 20:51:52 +02:00 committed by Félix Piédallu
parent 840b20bfc4
commit 7508bcfdf6

View file

@ -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"