File tree Expand file tree Collapse file tree 5 files changed +21
-7
lines changed Expand file tree Collapse file tree 5 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -122,17 +122,28 @@ GOTO :ENDLIC
122
122
123
123
CD /D %NSIS_RES_DIR% || GOTO :ERROR
124
124
rem Genarate file lists
125
-
126
- type server.files > allserver.files
125
+ rem Remove old filelists first
126
+ rm -f *_list.nsi
127
+ rem tune pattern lists to major version and product
128
+ IF " %PG_MAJOR_VERSION% " == " 9.6" (
129
+ sed " s/wal/xlog/" server.files > allserver.files
130
+ sed " s/wal/xlog/" client.files > allclient.files
131
+ echo ./bin/createlang.* >> allclient.files
132
+ echo ./bin/droplang.* >> allclient.files
133
+ ) ELSE (
134
+ cat server.files > allserver.files
135
+ type client.files > allclient.files
136
+ )
127
137
IF NOT " %PG_MAJOR_VERSION% " == " 9.6" GOTO :NO_PGPRO_UPGRADE
128
138
IF " %PRODUCT_NAME% " == " PostgresPro" GOTO :ADD_PGPRO_UPGRADE
129
139
IF " %PRODUCT_NAME% " == " PostgresProEnterprise" GOTO :ADD_PGPRO_UPGRADE
130
140
GOTO :NO_PGPRO_UPGRADE
131
141
:ADD_PGPRO_UPGRADE
132
- type server.files pgpro_upgrade.files > allserver.files
142
+ type pgpro_upgrade.files > > allserver.files
133
143
:NO_PGPRO_UPGRADE
134
144
135
- %PYTHON64_PATH% /python %ROOT% /build/helpers/genlists.py %PG_INS_SOURCE_DIR% client.files devel.files plperl.files plpython2.files plpython3.files unneeded.files allserver.files || GOTO :ERROR
145
+ rem expand pattern lists to actual file lists
146
+ %PYTHON64_PATH% /python %ROOT% /build/helpers/genlists.py %PG_INS_SOURCE_DIR% allclient.files devel.files plperl.files plpython2.files plpython3.files unneeded.files allserver.files || GOTO :ERROR
136
147
137
148
rem generate installer itself
138
149
makensis postgresql.nsi || GOTO :ERROR
Original file line number Diff line number Diff line change 3
3
./bin/pg_config.*
4
4
./bin/ecpg.*
5
5
./symbols/*.pdb
6
+ ./share/errcodes.txt
Original file line number Diff line number Diff line change 1
1
./bin/sh.*
2
+ ./bin/mv.*
2
3
./bin/sed.*
3
4
./bin/pgpro_upgrade
5
+ ./share/pgpro-upgrade/*
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ Section $(componentClient) secClient
253
253
254
254
255
255
256
- !include client_list .nsi
256
+ !include allclient_list .nsi
257
257
; SetOutPath "$INSTDIR\bin"
258
258
; File /r ${PG_INS_SOURCE_DIR}\*.*
259
259
; File /r ${PG_INS_SOURCE_DIR}\bin\*.*
Original file line number Diff line number Diff line change 5
5
./bin/pg_controldata.*
6
6
./bin/pg_ctl.*
7
7
./bin/pg_probackup.*
8
- ./bin/pg_reset* .*
8
+ ./bin/pg_resetwal .*
9
9
./bin/pg_rewind.*
10
10
./bin/pg_standby.*
11
11
./bin/pg_test_fsync.*
12
12
./bin/pg_test_timing.*
13
13
./bin/pg_upgrade.*
14
14
./bin/pg_waldump.*
15
- ./bin/pg_verifychecksums .*
15
+ ./bin/pg_verify_checksums .*
16
16
./bin/postgres.*
17
17
./bin/postmaster.*
18
18
./bin/zic.*
You can’t perform that action at this time.
0 commit comments