mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Handle password send via POST_UPGRADE.d
This commit is contained in:
parent
66e47fb9c8
commit
3c952cd4b2
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
||||
if [ ! -d "/var/log/$app" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue