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:
parent
3ae418e4b9
commit
507939ff24
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue