Merge commit 'refs/pull/14936/head' of git://github.com/NixOS/nixpkgs
This commit is contained in:
commit
89dfbd1215
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ in
|
|||
|
||||
if test -e "${cfg.dataDir}/.first_startup"; then
|
||||
${optionalString (cfg.initialScript != null) ''
|
||||
cat "${cfg.initialScript}" | psql --port=${toString cfg.port} postgres
|
||||
psql -f "${cfg.initialScript}" --port=${toString cfg.port} postgres
|
||||
''}
|
||||
rm -f "${cfg.dataDir}/.first_startup"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue