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

Install gemserv in test.toml preinstall

This commit is contained in:
Salamandar 2024-01-28 12:48:23 +01:00
parent 22a435d810
commit 2a63c95c71
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,5 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "my_capsule"
@ -77,7 +79,7 @@ ram.runtime = "50M"
[resources.apt]
packages = "php8.2-fpm, php8.2-mbstring"
packages_from_raw_bash = """
if [[ "$database" == true ]]; then
if [[ "$database" == true ]]; then
echo "mariadb-server, php8.2-mysql"
fi
"""

View file

@ -1,7 +1,13 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json
test_format = 1.0
[default]
preinstall = """
yunohost app install --force gemserv
"""
# ------------
# Tests to run
# ------------
# ------------