diff --git a/image/base/install-oxipng b/image/base/install-oxipng index 63cad97ff..c27804c5c 100755 --- a/image/base/install-oxipng +++ b/image/base/install-oxipng @@ -12,7 +12,11 @@ case "${dpkgArch##*-}" in esac # Install other deps -apt -y -q install advancecomp jhead jpegoptim libjpeg-turbo-progs optipng +apt -y -q install advancecomp jpegoptim libjpeg-turbo-progs + +git clone --depth 1 --branch "3.08" https://github.com/Matthias-Wandel/jhead.git /tmp/jhead +cd /tmp/jhead && make && cp /tmp/jhead/jhead /usr/local/bin/jhead +cd / && rm -rf /tmp/jhead mkdir /oxipng-install cd /oxipng-install @@ -22,4 +26,4 @@ sha256sum ${OXIPNG_FILE} echo "${OXIPNG_HASH} ${OXIPNG_FILE}" | sha256sum -c tar --strip-components=1 -xzf $OXIPNG_FILE cp -v ./oxipng /usr/local/bin -cd / && rm -fr /oxipng-install \ No newline at end of file +cd / && rm -fr /oxipng-install