fix fallback

This commit is contained in:
Brent Cook 2016-11-16 02:35:31 -06:00
parent 2ebaeadf34
commit 9265f4432c
1 changed files with 3 additions and 1 deletions

View File

@ -44,10 +44,12 @@ if [ $(uname) = "Darwin" ]; then
fi
if compare_versions $($packer_bin -v) $min_packer_ver false; then
echo 'Compatible version of packer was found.'
echo "Compatible version of $packer was found."
else
packer_bin=packer
if compare_versions $($packer_bin -v) $min_packer_ver false; then
echo "Compatible version of $packer was found."
else
echo "A compatible version of packer was not found. Please install from here: https://www.packer.io/downloads.html"
exit 1
fi