mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Updates
This commit is contained in:
parent
35a1c24630
commit
66ec7c3844
4 changed files with 2 additions and 35 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", true);
|
||||
define("CONNEXION_COMPTE", true);
|
||||
|
||||
define("CSV_SEP", ";");
|
||||
|
||||
|
|
|
@ -9,14 +9,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
creation_compte="true"
|
||||
connexion_compte="true"
|
||||
#csv_sep=";"
|
||||
|
||||
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=csv_sep --value=$csv_sep
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
|
|
@ -9,31 +9,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
||||
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
|
||||
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
|
||||
fi
|
||||
|
||||
# If separateur_csv doesn't exist, create it
|
||||
#if [ -z "${csv_sep:-}" ]; then
|
||||
# csv_sep=";"
|
||||
# ynh_app_setting_set --app=$app --key=csv_sep --value=$csv_sep
|
||||
#fi
|
||||
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue