Prevent build crashes on empty cache 23/6623/3
authorMichael Chapman <woppin@gmail.com>
Thu, 14 Jan 2016 04:03:37 +0000 (15:03 +1100)
committerMichael Chapman <woppin@gmail.com>
Mon, 15 Feb 2016 13:42:04 +0000 (00:42 +1100)
commite60d7dae958066f7003533fe03cdd2fc06a04685
treec98108d898bac800dc405f7fe405edd035071815
parentdeb9994b6b9bd6f52729824cb70dc8d322d70d16
Prevent build crashes on empty cache

When there is no file to run md5sum on, instack will bail instead
of downloading a fresh copy. Check for file existence first, and if
it fails then immediately download required file.

Also don't try to install epel if it's already there.

Change-Id: I2248a916207b0bf9368d74d19c4087da846ed3d9
build/instack.sh