1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

fix db-user: ""

This commit is contained in:
OniriCorpe 2022-03-28 19:26:55 +02:00
parent 50a9b33d3b
commit e72b255976

View file

@ -128,7 +128,7 @@ ynh_system_user_create --username="$app" --home_dir="$final_path"
ynh_script_progression --message="Creating a PostgreSQL database..." --weight=5
db_name=$(ynh_sanitize_dbid --db_name="$app")
db_user="$db_name"
db_user=$db_name
db_pwd=$(ynh_string_random --length=30)
ynh_app_setting_set --app="$app" --key=db_name --value="$db_name"
ynh_app_setting_set --app="$app" --key=db_pwd --value="$db_pwd"