mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
psql fix
This commit is contained in:
parent
fd8e288ad6
commit
b7868bd195
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "YunoHost example app",
|
||||
"id": "ynhexample",
|
||||
"name": "plume bloggin app for yunohost",
|
||||
"id": "plume",
|
||||
"packaging_format": 1,
|
||||
"description": {
|
||||
"en": "Package for Plume application."
|
||||
|
|
|
@ -100,7 +100,7 @@ ynh_install_app_dependencies gettext postgresql postgresql-contrib libpq-dev git
|
|||
#=================================================
|
||||
|
||||
# Create postgresql database
|
||||
db_name="peertube_${app}"
|
||||
db_name="$app"
|
||||
db_pwd=$(ynh_string_random 30)
|
||||
ynh_app_setting_set "$app" psql_db "$db_name"
|
||||
ynh_app_setting_set "$app" psqlpwd "$db_pwd"
|
||||
|
|
Loading…
Add table
Reference in a new issue