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:
parent
11e06c5c63
commit
1172d4f924
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue