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

Merge pull request #41 from Thovi98/testing

fix Bookworm compatibility
This commit is contained in:
Alexandre Aubin 2024-05-02 01:42:42 +02:00 committed by GitHub
commit 87e4f95973
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",
@ -101,6 +100,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"