Skip to content

Commit 498a243

Browse files
committed
Remove "ICU" from 9.x during templating
1 parent 6b2d9f0 commit 498a243

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

update.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ for version in "${versions[@]}"; do
5353
sed -i -e 's/WALDIR/XLOGDIR/g' \
5454
-e 's/waldir/xlogdir/g' \
5555
"$version/docker-entrypoint.sh"
56+
# ICU support was introduced in PostgreSQL 10 (https://www.postgresql.org/docs/10/static/release-10.html#id-1.11.6.9.5.13)
57+
sed -i -e '/icu/d' "$version/Dockerfile"
5658
else
5759
# postgresql-contrib-10 package does not exist, but is provided by postgresql-10
5860
# Packages.gz:
@@ -85,6 +87,8 @@ for version in "${versions[@]}"; do
8587
sed -i -e 's/WALDIR/XLOGDIR/g' \
8688
-e 's/waldir/xlogdir/g' \
8789
"$version/$variant/docker-entrypoint.sh"
90+
# ICU support was introduced in PostgreSQL 10 (https://www.postgresql.org/docs/10/static/release-10.html#id-1.11.6.9.5.13)
91+
sed -i -e '/icu/d' "$version/$variant/Dockerfile"
8892
fi
8993

9094
# TODO remove all this when 9.3 is EOL (2018-10-01 -- from http://www.postgresql.org/support/versioning/)

0 commit comments

Comments
 (0)