Add check on another compression mode for stage3 build.

This commit is contained in:
Alexis Lahouze 2019-03-20 15:27:14 +01:00
parent fb7ba77ca4
commit 0ac5e050f6

View File

@ -9,7 +9,8 @@ set -e
BUILDDIR=/var/lib/catalyst/store/builds/default
if [ ! -r ${BUILDDIR}/stage3-amd64-latest.tar.xz ]
if [ ! -r ${BUILDDIR}/stage3-amd64-latest.tar.xz ] \
&& [ ! -r ${BUILDDIR}/stage3-amd64-latest.tar.bz2 ]
then
# Get latest stage3 tag
STAGE3_TAG=$(wget -q -O - \