[install] Stop installer when failed to download the binary

Close #312
This commit is contained in:
Junegunn Choi 2015-08-08 03:53:46 +09:00
parent bae10a6582
commit a7b75c99a5

View File

@ -96,6 +96,7 @@ if [ -n "$binary_error" ]; then
echo "No prebuilt binary for $archi ... "
else
echo " - $binary_error !!!"
exit 1
fi
echo "Installing legacy Ruby version ..."