mirror of
https://github.com/YunoHost-Apps/glpi_ynh.git
synced 2024-09-03 20:36:21 +02:00
update
This commit is contained in:
parent
f8965ded4d
commit
0b7fe0a797
1 changed files with 3 additions and 3 deletions
|
@ -95,7 +95,7 @@ ynh_print_info "Installing dependencies..."
|
|||
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
|
||||
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
||||
|
||||
#ynh_install_app_dependencies postgresql
|
||||
ynh_install_app_dependencies postgresql
|
||||
|
||||
#=================================================
|
||||
# CREATE A POSTGRESQL DATABASE
|
||||
|
@ -115,8 +115,8 @@ db_name=$(ynh_sanitize_dbid $app)
|
|||
db_pwd=$(ynh_string_random 8)
|
||||
ynh_app_setting_set $app db_name $db_name
|
||||
ynh_app_setting_set $app db_pwd $db_pwd
|
||||
ynh_mysql_test_if_first_run
|
||||
ynh_mysql_create_db $db_name $db_name $db_pwd
|
||||
ynh_psql_test_if_first_run
|
||||
ynh_psql_create_db $db_name $db_name $db_pwd
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
|
|
Loading…
Add table
Reference in a new issue