From 89e850c7950e37066f62c25b35e4096f3df2630a Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Mon, 26 Jun 2017 20:36:01 -0300 Subject: [PATCH] FIX: Download pngquant from git repository Makefile depends on git submodule, so this is mandatory for now --- image/base/install-pngquant | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/image/base/install-pngquant b/image/base/install-pngquant index 57d7669..bc44eab 100755 --- a/image/base/install-pngquant +++ b/image/base/install-pngquant @@ -1,11 +1,8 @@ #!/bin/bash VERSION=2.8.0 cd /tmp -wget https://github.com/pornel/pngquant/archive/$VERSION.tar.gz -tar zxf $VERSION.tar.gz -cd pngquant-$VERSION -./configure +git clone -b $VERSION --single-branch https://github.com/pornel/pngquant +cd pngquant make && make install cd / rm -fr /tmp/pngq* -rm -fr /tmp/$VERSION* -- 2.25.1