|
|
@ -282,7 +282,7 @@ def initPgPwd(): |
|
|
|
cmd_pass = "echo \"alter user postgres with password '" + pwd + "'\" | " |
|
|
|
cmd_pass = "echo \"alter user postgres with password '" + pwd + "'\" | " |
|
|
|
if not mw.isAppleSystem(): |
|
|
|
if not mw.isAppleSystem(): |
|
|
|
cmd = serverdir + '/bin/psql -d postgres' |
|
|
|
cmd = serverdir + '/bin/psql -d postgres' |
|
|
|
cmd_pass = cmd_pass + ' ' pgCmd(cmd) |
|
|
|
cmd_pass = cmd_pass + ' ' + pgCmd(cmd) |
|
|
|
else: |
|
|
|
else: |
|
|
|
cmd_pass = cmd_pass + serverdir + '/bin/psql -d postgres' |
|
|
|
cmd_pass = cmd_pass + serverdir + '/bin/psql -d postgres' |
|
|
|
|
|
|
|
|
|
|
|