[Greater-commits] r407 - trunk/packaging
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jul 12 12:31:37 CEST 2011
Author: aheinecke
Date: 2011-07-12 12:31:37 +0200 (Tue, 12 Jul 2011)
New Revision: 407
Modified:
trunk/packaging/greater-installer.nsi
Log:
Create the greater database when importing
Modified: trunk/packaging/greater-installer.nsi
===================================================================
--- trunk/packaging/greater-installer.nsi 2011-07-12 10:31:09 UTC (rev 406)
+++ trunk/packaging/greater-installer.nsi 2011-07-12 10:31:37 UTC (rev 407)
@@ -117,7 +117,7 @@
File "defaultdata\10_create_users.sql"
File "defaultdata\90_grant_access.sql"
DetailPrint "Creating default GREAT-ER datasets"
- ExecWait '"$INSTDIR\postgres9\bin\pg_restore.exe" -d greater -U greater \
+ ExecWait '"$INSTDIR\postgres9\bin\pg_restore.exe" -C -d postgres -U greater \
"$TEMP\defaultdb.backup"'
ExecWait '"$INSTDIR\postgres9\bin\psql" -d greater -U greater \
"$TEMP\10_create_users.sql"'
More information about the Greater-commits
mailing list