1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galette_ynh.git synced 2024-09-03 18:36:28 +02:00
This commit is contained in:
Éric Gaspar 2023-11-11 14:20:15 +01:00
parent 3cdc7a6c0d
commit a6f77c513d
2 changed files with 21 additions and 4 deletions

View file

@ -36,8 +36,6 @@ ram.runtime = "50M"
default = "/galette"
[install.init_main_permission]
help.en = "If enabled, Galette will be accessible by people who do not have an account. This can be changed later via the webadmin."
help.fr = "Si cette case est cochée, Galette sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
type = "group"
default = "visitors"
@ -48,7 +46,8 @@ ram.runtime = "50M"
type = "password"
[install.database]
ask.en = "Choose SQL databe you want"
ask.en = "Choose SQL database you want"
ask.fr = "Choisissez la base de données SQL souhaitée"
type = "select"
choices = ["pgsql", "mysql"]
default = "pgsql"
@ -74,6 +73,6 @@ ram.runtime = "50M"
echo "mariadb-server, php7.4-mysql"
elif [[ "$database" == "postgresql" ]]; then
echo "postgresql, postgresql-contrib, php7.4-psql"
echo "postgresql, postgresql-contrib, php7.4-pgsql"
fi
"""

View file

@ -0,0 +1,18 @@
test_format = 1.0
[default]
# -------------------------------
# Default args to use for install
# -------------------------------
args.database="pgsql"
# -------------------------------
# Commits to test upgrade from
# -------------------------------
[postgresql_test]
only = ["install.subdir", "backup_restore", "upgrade" ]
args.database = "mysql"