mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update install
This commit is contained in:
parent
f78581dfab
commit
a0d55b3003
1 changed files with 3 additions and 3 deletions
|
@ -71,9 +71,9 @@ ynh_print_info --message="Creating a PostgreSQL database..."
|
|||
|
||||
ynh_psql_test_if_first_run
|
||||
|
||||
db_name=$(ynh_sanitize_dbid "$app")
|
||||
db_name=$(ynh_sanitize_dbid --db_name=$app)
|
||||
db_user=$db_name
|
||||
db_pwd=$(ynh_string_random)
|
||||
db_pwd=$(ynh_string_random --length=32)
|
||||
ynh_app_setting_set --app="$app" --key=db_name --value="$db_name"
|
||||
ynh_app_setting_set --app="$app" --key=db_pwd --value="$db_pwd"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue