[Greater-commits] r3792 - trunk/packaging

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Oct 6 16:04:34 CEST 2011


Author: aheinecke
Date: 2011-10-06 16:04:33 +0200 (Thu, 06 Oct 2011)
New Revision: 3792

Modified:
   trunk/packaging/greater-installer.nsi
Log:
Remove sediment selected check


Modified: trunk/packaging/greater-installer.nsi
===================================================================
--- trunk/packaging/greater-installer.nsi	2011-10-06 13:30:09 UTC (rev 3791)
+++ trunk/packaging/greater-installer.nsi	2011-10-06 14:04:33 UTC (rev 3792)
@@ -130,7 +130,6 @@
   "$TEMP\90_grant_access.sql"' "" "$TEMP\greater_insert.log"
 
   ; Also the sediment database?
-  CALL CheckIfSedimentSelected
   File "defaultdata\sedimentdb.backup"
   ExecDos::exec '"$INSTDIR\postgres9\bin\pg_restore.exe" -C -O -d postgres -U greater \
   "$TEMP\sedimentdb.backup"' "" "$TEMP\greater_sediment_insert.log"
@@ -440,15 +439,6 @@
     Abort "$R8"
     Return
 FunctionEnd
-
-Function CheckIfSedimentSelected
-    SectionGetFlags ${sediment_section_id} $R0
-    StrCpy $SEDIMENT_SELECTED "no"
-    IntCmp $R0 0 no_sediment
-    StrCpy $SEDIMENT_SELECTED "yes"
-    no_sediment:
-FunctionEnd
-
 ;---------------------
 ; Disable the next button on the components page as long as there
 ; are no sections selected



More information about the Greater-commits mailing list