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

Update the update script

This commit is contained in:
Aurelien Vaillant 2023-08-17 15:57:28 +02:00
parent 92c8673646
commit 1e5d23df24

View file

@ -61,6 +61,7 @@ ynh_script_progression --message="Start to init custom error code"
if [ -z "${custom_error_file:-}" ]; then if [ -z "${custom_error_file:-}" ]; then
ynh_script_progression --message="Variable not existing, create-it" ynh_script_progression --message="Variable not existing, create-it"
custom_error_file=$(ynh_app_setting_get --app=$app --key=custom_error_file) custom_error_file=$(ynh_app_setting_get --app=$app --key=custom_error_file)
ynh_app_setting_set --app=$app --key=custom_error_file --value=$custom_error_file
fi fi
# Delete old user # Delete old user