diff --git a/common/download.sh b/common/download.sh index 16d4614..f1ea18e 100755 --- a/common/download.sh +++ b/common/download.sh @@ -34,12 +34,12 @@ elif [ $RELEASE = 'squeeze' ] || [ $RELEASE = 'wheezy' ]; then utils.lxc.create -t debian -- \ --release ${RELEASE} \ --arch ${ARCH} -elif [ ${DISTRIBUTION} = 'fedora' -a "${RELEASE}" = 'rawhide' ]; then +elif [ ${DISTRIBUTION} = 'fedora' ] && [ "${RELEASE}" = 'rawhide' ]; then ARCH=$(echo ${ARCH} | sed -e "s/38/68/" | sed -e "s/amd64/x86_64/") utils.lxc.create -t fedora --\ --release ${RELEASE} \ --arch ${ARCH} -elif [ ${DISTRIBUTION} = 'fedora' -a ${RELEASE} -ge 21 ]; then +elif [ ${DISTRIBUTION} = 'fedora' ] && [ ${RELEASE} -ge 21 ]; then ARCH=$(echo ${ARCH} | sed -e "s/38/68/" | sed -e "s/amd64/x86_64/") utils.lxc.create -t fedora --\ --release ${RELEASE} \