mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Replace hard-corded value with constant defined above
This commit is contained in:
parent
abc091911c
commit
e3dfd63481
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ ynh_psql_remove_db() {
|
|||
#
|
||||
# usage: ynh_psql_test_if_first_run
|
||||
ynh_psql_test_if_first_run() {
|
||||
if [ -f /etc/yunohost/psql ]; then
|
||||
if [ -f "$PSQL_ROOT_PWD_FILE" ]; then
|
||||
echo "PostgreSQL is already installed, no need to create master password"
|
||||
else
|
||||
local pgsql="$(ynh_string_random)"
|
||||
|
|
Loading…
Add table
Reference in a new issue