Skip to content

Commit 8017bad

Browse files
committed
Fixed double locale option
1 parent 730911f commit 8017bad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nsis/postgresql.nsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ Section $(componentClient) secClient
287287

288288
CreateDirectory "$INSTDIR\scripts"
289289
File "/oname=$INSTDIR\scripts\pg-psql.ico" "pg-psql.ico"
290+
CreateDirectory "$INSTDIR\doc"
290291
File "/oname=$INSTDIR\doc\pg-help.ico" "pg-help.ico"
291292

292293
;Store installation folder
@@ -399,6 +400,7 @@ Section $(componentServer) sec1
399400

400401
CreateDirectory "$INSTDIR\scripts"
401402
File "/oname=$INSTDIR\scripts\pg-psql.ico" "pg-psql.ico"
403+
CreateDirectory "$INSTDIR\doc"
402404
File "/oname=$INSTDIR\doc\pg-help.ico" "pg-help.ico"
403405

404406
;Store installation folder
@@ -573,7 +575,6 @@ Section $(componentServer) sec1
573575
StrCpy $currCommand '$currCommand --locale="@$Collation_text"'
574576
${endif}
575577
${else}
576-
StrCpy $currCommand '$currCommand --locale="$Locale_text"'
577578
${if} "$Collation_text" != "$(DEF_COLATE_NAME)"
578579
StrCpy $currCommand '$currCommand --locale="$Locale_text@$Collation_text"'
579580
${else}
@@ -1030,7 +1031,7 @@ Function createRunPsql
10301031
StrCpy $Chcp_text ""
10311032
${Endif}
10321033

1033-
${if} ${PRODUCT_NAME} == "PostgreSQL"
1034+
${if} "${PRODUCT_NAME}" == "PostgreSQL"
10341035
StrCpy $Chcp_text ""
10351036

10361037
DetailPrint "Language settings:"

0 commit comments

Comments
 (0)