1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpinfo_ynh.git synced 2024-09-03 19:56:23 +02:00
phpinfo_ynh/manifest.toml
Éric Gaspar cf9d3b8245 cleaning
2023-11-12 09:04:43 +01:00

67 lines
1.4 KiB
TOML

packaging_format = 2
id = "phpinfo"
name = "Phpinfo"
description.en = "Simple phpinfo"
description.fr = "Simple phpinfo"
version = "1.0~ynh4"
maintainers = [""]
[upstream]
license = "GPL-3.0-or-later"
website = "https://www.php.net/manual/fr/function.phpinfo.php"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = false
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/phpinfo"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.phpversion]
ask.en = "Choose the version of PHP to use."
ask.fr = "Choisissez la version de PHP à utiliser."
type = "string"
choices = ["7.4", "8.0", "8.1", "8.2"]
default = "8.0"
[resources]
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
[resources.apt]
packages_from_raw_bash = """
if [[ "$php_version" == "7.4" ]]; then
echo "php7.4-fpm"
elif [[ "$php_version" == "8.0" ]]; then
echo "php8.0-fpm"
elif [[ "$php_version" == "8.1" ]]; then
echo "php8.1-fpm"
elif [[ "$php_version" == "8.2" ]]; then
echo "php8.2-fpm"
fi
"""