mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Why not use the global variable here ...
This commit is contained in:
parent
6a00aac13a
commit
5c7bad8472
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ ynh_psql_test_if_first_run() {
|
||||||
echo "PostgreSQL is already installed, no need to create master password"
|
echo "PostgreSQL is already installed, no need to create master password"
|
||||||
else
|
else
|
||||||
local pgsql="$(ynh_string_random)"
|
local pgsql="$(ynh_string_random)"
|
||||||
echo "$pgsql" >/etc/yunohost/psql
|
echo "$pgsql" >$PSQL_ROOT_PWD_FILE
|
||||||
|
|
||||||
if [ -e /etc/postgresql/9.4/ ]; then
|
if [ -e /etc/postgresql/9.4/ ]; then
|
||||||
local pg_hba=/etc/postgresql/9.4/main/pg_hba.conf
|
local pg_hba=/etc/postgresql/9.4/main/pg_hba.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue