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

Merge pull request #39 from YunoHost-Apps/testing

Testing
This commit is contained in:
Limezy 2024-03-08 11:50:12 +07:00 committed by GitHub
commit 35ada65fc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,6 +66,20 @@ pushd "$install_dir"
fi
ynh_script_progression --message="You shouldn't see this"
ynh_script_progression --message="Checking if a config panel migration is needed"
if ynh_compare_current_package_version --comparison le --version 10.0~ynh1
then
ynh_script_progression --message="Creating config panel variables"
csv_sep=";"
creation_compte=true
connexion_compte=true
ynh_app_setting_set --app=$app --key=csv_sep --value="$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"
else
ynh_script_progression --message="No config panel migration required"
fi
ynh_script_progression --message="You shouldn't see this"
popd
#=================================================