1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2023-03-19 08:10:13 +01:00
parent b8b27fa97c
commit 6941f078a2

View file

@ -109,7 +109,7 @@ fi
ynh_script_progression --message="Updating a configuration file..." --weight=2
# If password_hash doesn't exist, create it
if [ -z "$password_hash" ]; then
if [ -z "${password_hash:-}" ]; then
password_hash=$(echo $($install_dir/galene-password-generator $password))
ynh_app_setting_set --app=$app --key=password_hash --value="$password_hash"
fi