mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2024-12-26 14:05:24 +00:00
Push zlib version to 1.2.9
Also fetch it from github releases rather than site directly; those releases won't suddenly disappear.
This commit is contained in:
parent
c8ab63c69b
commit
0a46959ef7
@ -8,7 +8,7 @@ PCRE_VERSION="8.39"
|
||||
PCRE_TARBALL="pcre-${PCRE_VERSION}.tar.gz"
|
||||
SIGIL_VERSION="0.4.0"
|
||||
SIGIL_TARBALL="sigil_${SIGIL_VERSION}_Linux_x86_64.tgz"
|
||||
ZLIB_VERSION="1.2.8"
|
||||
ZLIB_VERSION="1.2.9"
|
||||
ZLIB_TARBALL="zlib-${ZLIB_VERSION}.tar.gz"
|
||||
|
||||
suppress() {
|
||||
@ -60,7 +60,7 @@ fi
|
||||
|
||||
if [[ ! -d "${ZLIB_TARBALL%.tar.gz}" ]]; then
|
||||
echo "-----> Download and unzip zlib"
|
||||
curl -sSL "http://zlib.net/${ZLIB_TARBALL}" -o "${ZLIB_TARBALL}"
|
||||
curl -sSL "https://github.com/madler/zlib/archive/v${ZLIB_VERSION}.tar.gz" -o "${ZLIB_TARBALL}"
|
||||
tar xzf "${ZLIB_TARBALL}" && rm -rf "${ZLIB_TARBALL}"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user