fix dependencies
authorSam <sam.saffron@gmail.com>
Fri, 29 May 2015 04:58:08 +0000 (14:58 +1000)
committerSam <sam.saffron@gmail.com>
Fri, 29 May 2015 04:58:08 +0000 (14:58 +1000)
image/base/install-gifsicle
image/base/install-pngquant

index 17d8af9749916474e8d7f2364f63a9ac5bd1a0f1..b1c10428d97a6f3f54f6e49faf3c3c760a68c4b5 100755 (executable)
@@ -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*
index 852ebe08eb799389e8723e6336384381c2447127..2ff73d1bfba29f90f8245c44d3693402b1c953a2 100755 (executable)
@@ -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