1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glpi_ynh.git synced 2024-09-03 20:36:21 +02:00
This commit is contained in:
liberodark 2019-06-30 20:08:40 +02:00
parent f8965ded4d
commit 0b7fe0a797

View file

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