Browse Source

fix things to make nsis happy

svn:r13110
Andrew Lewman 16 years ago
parent
commit
d6b5301007
1 changed files with 4 additions and 4 deletions
  1. 4 4
      contrib/polipo/polipo-mingw.nsi

+ 4 - 4
contrib/polipo/polipo-mingw.nsi

@@ -6,7 +6,7 @@
 ;
 !include "MUI.nsh"
 
-!define VERSION "1.0.4"
+!define VERSION "1.0.4.0"
 !define INSTALLER "polipo-${VERSION}-win32.exe"
 !define WEBSITE "http://www.pps.jussieu.fr/~jch/software/polipo/"
 
@@ -70,7 +70,7 @@ Section "Polipo" Polipo
    File "${BIN}\polipo.exe"
    File "${BIN}\COPYING"
    File "${BIN}\CHANGES"
-   File "${BIN}\config.windows"
+   File "${BIN}\config.sample"
    File "${BIN}\forbidden.sample"
    File "${BIN}\README.Windows"
    WriteIniStr "$INSTDIR\Polipo Website.url" "InternetShortcut" "URL" ${WEBSITE}
@@ -84,9 +84,9 @@ Section "Polipo" Polipo
       Delete $INSTDIR\config
       Goto endifconfig
      yesreplace:
-      StrCpy $configfile ".\config.windows"
+      StrCpy $configfile ".\config.sample"
    endifconfig:
-   File /oname=$configfile ".\config.windows"
+   File /oname=$configfile ".\config.sample"
    IfFileExists "$INSTDIR\www\*.*" "" endifwebroot
 	CreateDirectory "$INSTDIR\www"
    endifwebroot: