mirror of
https://github.com/YunoHost-Apps/osada_ynh.git
synced 2024-09-03 19:46:30 +02:00
Update upgrade
This commit is contained in:
parent
a6f9a3c80f
commit
52bb80e0cc
1 changed files with 2 additions and 0 deletions
|
@ -148,8 +148,10 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1
|
|||
|
||||
if [ $database = "mysql" ]; then
|
||||
db_type=0
|
||||
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||
elif [ $database = "postgresql" ]; then
|
||||
db_type=1
|
||||
db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
|
||||
else
|
||||
ynh_die --message="Some problem occured in creating the database, contact maintainer"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue