From bffa4c102bb17ea9442197a6f100ca551f6386c3 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Wed, 18 Nov 2015 19:14:59 -0500 Subject: [PATCH] exit on fail --- image/base/install-gifsicle | 1 + image/base/install-pngcrush | 1 + 2 files changed, 2 insertions(+) diff --git a/image/base/install-gifsicle b/image/base/install-gifsicle index b1c1042..bfee12a 100755 --- a/image/base/install-gifsicle +++ b/image/base/install-gifsicle @@ -1,4 +1,5 @@ #!/bin/bash +set -e VERSION=1.87 cd /tmp curl -O http://www.lcdf.org/gifsicle/gifsicle-$VERSION.tar.gz diff --git a/image/base/install-pngcrush b/image/base/install-pngcrush index bcff47b..2573d7e 100755 --- a/image/base/install-pngcrush +++ b/image/base/install-pngcrush @@ -1,4 +1,5 @@ #!/bin/bash +set -e PNGCRUSH_VERSION=1.7.87 cd /tmp curl -O http://iweb.dl.sourceforge.net/project/pmt/pngcrush/$PNGCRUSH_VERSION/pngcrush-$PNGCRUSH_VERSION.tar.gz -- 2.25.1