1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/plume_ynh.git synced 2024-09-03 20:15:54 +02:00
This commit is contained in:
anmol26s 2018-09-08 02:08:40 +05:30
parent fd8e288ad6
commit b7868bd195
2 changed files with 3 additions and 3 deletions

View file

@ -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."

View file

@ -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"