1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00

Fix old db_pwd

This commit is contained in:
Kayou 2019-02-03 19:31:09 +01:00
parent 11e06c5c63
commit 1172d4f924
No known key found for this signature in database
GPG key ID: 823A2CBE071D3126

View file

@ -53,6 +53,12 @@ then # Si final_path n'est pas renseigné dans la config yunohost, cas d'ancien
final_path=/var/www/$app final_path=/var/www/$app
fi fi
if [ -z "$db_pwd" ]; then
db_pwd=$(ynh_app_setting_get $app db_pwd) # Fix old db_pwd
ynh_app_setting_delete $app db_pwd
ynh_app_setting_set $app psqlpwd $db_pwd
fi
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================