mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
Fix 5 workaround for ynh_psql_setup_db()
This commit is contained in:
parent
1f87a1d787
commit
f09b57f452
1 changed files with 2 additions and 2 deletions
|
@ -91,10 +91,10 @@ ynh_psql_restore_all_app_dbs_dumps --db_user=$db_user --db_user_pwd=db_user_pwd
|
||||||
if [ -n "$db_user" ]; then
|
if [ -n "$db_user" ]; then
|
||||||
sql="ALTER USER $db_user CREATEDB"
|
sql="ALTER USER $db_user CREATEDB"
|
||||||
ynh_psql_execute_as_root --sql="$sql"
|
ynh_psql_execute_as_root --sql="$sql"
|
||||||
sql= "ALTER USER noalyss WITH PASSWORD \"$db_user_pwd\"" #Workaround to restore the backed up password, since as of 23 January 2023, there seems to be a bug in ynh_psql_setup_db() helper (YNH Core) forcing password reset.
|
sql= "ALTER USER noalyss WITH PASSWORD '$db_user_pwd'" #Workaround to restore the backed up password, since as of 23 January 2023, there seems to be a bug in ynh_psql_setup_db() helper (YNH Core) forcing password reset.
|
||||||
ynh_psql_execute_as_root --sql="$sql"
|
ynh_psql_execute_as_root --sql="$sql"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue