From 2aa5c5563aa19080c96711157aad281f9038f558 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 9 Nov 2017 21:19:38 -0500 Subject: [PATCH] Grammer fix / spacing fixes --- iiab-install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iiab-install b/iiab-install index daf309ebe..88e74bd43 100755 --- a/iiab-install +++ b/iiab-install @@ -19,8 +19,8 @@ if [ ! -f $PLAYBOOK ]; then exit 1 fi -# Subroutine compares software version numbers. Generates rare false positives -# like "1.0 > 1" and "2.4.0 > 2.4". Avoid risks by structuring conditionals w/ +# Subroutine compares software version numbers. Generates rare false positives +# like "1.0 > 1" and "2.4.0 > 2.4". Avoid risks by structuring conditionals w/ # a consistent # of decimal points e.g. "if version_gt w.x.y.z a.b.c.d; then" function version_gt() { [ "$(printf '%s\n' "$@" | sort -V | head -1)" != "$1" ]; } @@ -29,13 +29,13 @@ function version_gt() { [ "$(printf '%s\n' "$@" | sort -V | head -1)" != "$1" ]; CURR_KERN=`uname -r` echo "Found Kernel "$CURR_KERN"" if [ $OS == "raspbian" ] && version_gt $MIN_RPI_KERN $CURR_KERN; then - echo "Kernel "$MIN_RPI_KERN" or higher requires on Raspbian." + echo "Kernel "$MIN_RPI_KERN" or higher required on Raspbian." echo "Please run 'apt update' then 'apt install raspberrypi-kernel' then reboot." echo "INSTALL INSTRUCTIONS: https://github.com/iiab/iiab/wiki/IIAB-Installation" exit 1 fi -# Verify that a recent enough version of Ansible is installed. See #449. The +# Verify that a recent enough version of Ansible is installed. See #449. The # "include:" command was inconsistently implemented prior to Ansible 2.4.x.x CURRENT_ANSIBLE_VER=0 if [[ `type -P ansible` ]]; then