diff --git a/conf/upgrade.msg b/doc/POST_UPGRADE.d/4.1.5~ynh3.md similarity index 95% rename from conf/upgrade.msg rename to doc/POST_UPGRADE.d/4.1.5~ynh3.md index 94933ac..9551c65 100644 --- a/conf/upgrade.msg +++ b/doc/POST_UPGRADE.d/4.1.5~ynh3.md @@ -1,4 +1,4 @@ I Hate Money was successfully upgraded :) Please open https://__DOMAIN____PATH__/admin The admin password is: __PASSWORD__ -If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/ihatemoney_ynh \ No newline at end of file +If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/ihatemoney_ynh diff --git a/scripts/upgrade b/scripts/upgrade index 3d88c4c..fc1af46 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -87,9 +87,8 @@ if [ -z "$hashed_password" ] && [ test -f "${install_dir}/venv/bin/activate" ]; ) hashed_password=$(cat $install_dir/key.txt) -#REMOVEME? ynh_secure_remove --file="$install_dir/key.txt" -#REMOVEME? ynh_app_setting_set --app=$app --key=hashed_password --value=$hashed_password - ynh_send_readme_to_admin --app_message="../conf/upgrade.msg" --type="upgrade" + ynh_secure_remove --file="$install_dir/key.txt" + ynh_app_setting_set --app=$app --key=hashed_password --value=$hashed_password fi #=================================================