mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
Grammer fix / spacing fixes
This commit is contained in:
parent
543461817b
commit
2aa5c5563a
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue