1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00

Update _common.sh

This commit is contained in:
ericgaspar 2021-08-09 19:47:25 +02:00
parent 3ae418e4b9
commit 507939ff24
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -12,10 +12,11 @@ YNH_COMPOSER_VERSION="2.1.3"
extra_php_dependencies="php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysqli php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-intl" extra_php_dependencies="php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysqli php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-intl"
# needed for raw upload and video playback # needed for raw upload and video playback
pkg_dependencies="ufraw-batch ffmpeg" # ufraw-batch is not supported in bullseye
if ! (apt-cache -q=0 show ufraw-batch |& grep ': No packages found' &>/dev/null); then if ! (apt-cache -q=0 show ufraw-batch |& grep ': No packages found' &>/dev/null); then
pkg_dependencies="$pkg_dependencies ufraw-batch" pkg_dependencies="ffmpeg"
else
pkg_dependencies="ufraw-batch ffmpeg"
fi fi
#================================================= #=================================================