From 1e964f8438a397fb7b6e4a6f303e10d66ed853fb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 28 Apr 2016 10:53:56 +0200 Subject: [PATCH] Revert "fix comparing string to a number" This reverts commit 2fcf0222f72d1610cb682ad156942597166da529. It was accidentially merged with PR#12 - password aging on CentOS. I think it is wrong so reverting from now... --- common/download.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/download.sh b/common/download.sh index afc285a..16d4614 100755 --- a/common/download.sh +++ b/common/download.sh @@ -39,7 +39,7 @@ elif [ ${DISTRIBUTION} = 'fedora' -a "${RELEASE}" = 'rawhide' ]; then utils.lxc.create -t fedora --\ --release ${RELEASE} \ --arch ${ARCH} -elif [[ ( ${DISTRIBUTION} = 'fedora' ) && ( ${RELEASE} -ge 21 ) ]]; then +elif [ ${DISTRIBUTION} = 'fedora' -a ${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} \