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 GitHub
parent 11d5f732ee
commit 46fb5e7415
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,6 @@ ram.runtime = "200M"
packages = [ packages = [
"curl", "curl",
"gpg", "gpg",
"libdlib19",
"ffmpeg", "ffmpeg",
"exiftool", "exiftool",
"libheif1", "libheif1",
@ -102,6 +101,14 @@ ram.runtime = "200M"
"mariadb-server", "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] [resources.apt.extras.yarn]
repo = "deb https://dl.yarnpkg.com/debian/ stable main" repo = "deb https://dl.yarnpkg.com/debian/ stable main"
key = "https://dl.yarnpkg.com/debian/pubkey.gpg" key = "https://dl.yarnpkg.com/debian/pubkey.gpg"