From 72e3cb0384e34e86f040c343bc80a68746e59627 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 29 May 2015 14:58:08 +1000 Subject: [PATCH] fix dependencies --- image/base/install-gifsicle | 3 +-- image/base/install-pngquant | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/image/base/install-gifsicle b/image/base/install-gifsicle index 17d8af9..b1c1042 100755 --- a/image/base/install-gifsicle +++ b/image/base/install-gifsicle @@ -7,5 +7,4 @@ cd gifsicle-$VERSION ./configure make install cd / -rm -fr /tmp/gifsicle-$PNGCRUSH_VERSION -rm /tmp/gifsicle-$PNGCRUSH_VERSION.tar.gz +rm -fr /tmp/gifsicle* diff --git a/image/base/install-pngquant b/image/base/install-pngquant index 852ebe0..2ff73d1 100755 --- a/image/base/install-pngquant +++ b/image/base/install-pngquant @@ -1,7 +1,9 @@ #!/bin/bash + +apt-get install -y libpng-dev VERSION=2.4.1 cd /tmp -curl -O https://github.com/pornel/pngquant/archive/$VERSION.tar.gz +wget https://github.com/pornel/pngquant/archive/$VERSION.tar.gz tar zxf $VERSION.tar.gz cd pngquant-$VERSION ./configure -- 2.25.1