mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Test with other name
This commit is contained in:
parent
ad1e075520
commit
e094e74fb4
4 changed files with 14 additions and 14 deletions
|
@ -20,8 +20,8 @@ define("SMTP_PORT", 25);
|
|||
define("SMTP_MAIL", "__APP__@__DOMAIN__");
|
||||
define("SMTP_PASSWORD", "");
|
||||
|
||||
define("CREATION_COMPTE", __CREATION_COMPTE__);
|
||||
define("CONNEXION_COMPTE", __CONNEXION_COMPTE__);
|
||||
define("CREATION_COMPTE", __CRE_COMPTE__);
|
||||
define("CONNEXION_COMPTE", __CON_COMPTE__);
|
||||
|
||||
define("CSV_SEP", "__SEPARATEUR_CSV__");
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ name = "Moncycle.app configuration"
|
|||
yes = "true"
|
||||
no = "false"
|
||||
help = "Don't disable account creation before creating one for yourself !"
|
||||
bind = "CREATION_COMPTE:__INSTALL_DIR__/config.php"
|
||||
bind = "CREA_COMPTE:__INSTALL_DIR__/config.php"
|
||||
|
||||
[main.comptes.connexion_compte]
|
||||
ask.en = "Enable account connexion"
|
||||
|
@ -22,7 +22,7 @@ name = "Moncycle.app configuration"
|
|||
default = "true"
|
||||
yes = "true"
|
||||
no = "false"
|
||||
bind = "CONNEXION_COMPTE:__INSTALL_DIR__/config.php"
|
||||
bind = "CON_COMPTE:__INSTALL_DIR__/config.php"
|
||||
|
||||
[main.export]
|
||||
name = "export"
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
creation_compte=true
|
||||
connexion_compte=true
|
||||
cre_compte=true
|
||||
con_compte=true
|
||||
separateur_csv=";"
|
||||
|
||||
ynh_app_setting_set --app=$app --key=creation_compte --value=$creation_compte
|
||||
ynh_app_setting_set --app=$app --key=connexion_compte --value=$connexion_compte
|
||||
ynh_app_setting_set --app=$app --key=cre_compte --value=$cre_compte
|
||||
ynh_app_setting_set --app=$app --key=con_compte --value=$con_compte
|
||||
ynh_app_setting_set --app=$app --key=separateur_csv --value=$separateur_csv
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -16,15 +16,15 @@ source /usr/share/yunohost/helpers
|
|||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
# If creation_compte doesn't exist, create it
|
||||
if [ -z "${creation_compte:-}" ]; then
|
||||
creation_compte=true
|
||||
ynh_app_setting_set --app=$app --key=creation_compte --value=$creation_compte
|
||||
if [ -z "${cre_compte:-}" ]; then
|
||||
cre_compte=true
|
||||
ynh_app_setting_set --app=$app --key=cre_compte --value=$cre_compte
|
||||
fi
|
||||
|
||||
# If connexion_compte doesn't exist, create it
|
||||
if [ -z "${connexion_compte:-}" ]; then
|
||||
connexion_compte=true
|
||||
ynh_app_setting_set --app=$app --key=connexion_compte --value=$connexion_compte
|
||||
if [ -z "${con_compte:-}" ]; then
|
||||
con_compte=true
|
||||
ynh_app_setting_set --app=$app --key=con_compte --value=$con_compte
|
||||
fi
|
||||
|
||||
# If separateur_csv doesn't exist, create it
|
||||
|
|
Loading…
Add table
Reference in a new issue