2017-06-05 14:04:03 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-02-10 17:02:38 +03:00
|
|
|
#=================================================
|
2019-03-06 01:17:15 +03:00
|
|
|
# COMMON VARIABLES
|
2019-02-10 17:02:38 +03:00
|
|
|
#=================================================
|
2022-07-10 17:28:55 +03:00
|
|
|
# PHP APP SPECIFIC
|
|
|
|
#=================================================
|
2022-08-04 20:18:10 +03:00
|
|
|
# Depending on its version, YunoHost uses different default PHP version:
|
|
|
|
## YunoHost version "11.X" => PHP 7.4
|
|
|
|
## YunoHost version "4.X" => PHP 7.3
|
2022-07-10 17:28:55 +03:00
|
|
|
#
|
2022-08-04 20:18:10 +03:00
|
|
|
# This behaviour can be overridden by setting the YNH_PHP_VERSION variable
|
2022-07-10 17:28:55 +03:00
|
|
|
#YNH_PHP_VERSION=7.3
|
|
|
|
#YNH_PHP_VERSION=7.4
|
|
|
|
#YNH_PHP_VERSION=8.0
|
2022-08-04 20:18:10 +03:00
|
|
|
# For more information, see the PHP application helper: https://github.com/YunoHost/yunohost/blob/dev/helpers/php#L3-L6
|
|
|
|
# Or this app package depending on PHP: https://github.com/YunoHost-Apps/grav_ynh/blob/master/scripts/_common.sh
|
|
|
|
# PHP dependencies used by the app (must be on a single line)
|
|
|
|
#php_dependencies="php$YNH_PHP_VERSION-deb1 php$YNH_PHP_VERSION-deb2"
|
|
|
|
# or, if you do not need a custom YNH_PHP_VERSION:
|
|
|
|
php_dependencies="php$YNH_DEFAULT_PHP_VERSION-deb1 php$YNH_DEFAULT_PHP_VERSION-deb2"
|
2019-02-10 17:02:38 +03:00
|
|
|
|
2022-07-10 17:28:55 +03:00
|
|
|
# dependencies used by the app (must be on a single line)
|
2022-08-04 20:18:17 +03:00
|
|
|
pkg_dependencies="deb1 deb2 $php_dependencies"
|
2019-03-06 01:11:52 +03:00
|
|
|
|
2019-03-06 01:17:15 +03:00
|
|
|
#=================================================
|
|
|
|
# PERSONAL HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
2019-02-10 17:02:38 +03:00
|
|
|
#=================================================
|
|
|
|
# EXPERIMENTAL HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
#=================================================
|
2019-02-10 22:04:23 +03:00
|
|
|
# FUTURE OFFICIAL HELPERS
|
2019-02-10 17:02:38 +03:00
|
|
|
#=================================================
|