1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00
lychee_ynh/scripts/_common.sh
2021-08-09 19:47:25 +02:00

32 lines
1.1 KiB
Bash

#!/bin/bash
#=================================================
# COMMON VARIABLES
#=================================================
YNH_PHP_VERSION="7.4"
# Composer version
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"
# needed for raw upload and video playback
# ufraw-batch is not supported in bullseye
if ! (apt-cache -q=0 show ufraw-batch |& grep ': No packages found' &>/dev/null); then
pkg_dependencies="ffmpeg"
else
pkg_dependencies="ufraw-batch ffmpeg"
fi
#=================================================
# PERSONAL HELPERS
#=================================================
#=================================================
# EXPERIMENTAL HELPERS
#=================================================
#=================================================
# FUTURE OFFICIAL HELPERS
#=================================================