1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00
This commit is contained in:
Limezy 2024-02-21 17:54:12 +07:00
parent 35a1c24630
commit 66ec7c3844
4 changed files with 2 additions and 35 deletions

View file

@ -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", ";");

View file

@ -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
#=================================================

View file

@ -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
#=================================================