change extraction of tar version number, latest version is verbose
This commit is contained in:
parent
56a01d4888
commit
27f165a8d5
1 changed files with 2 additions and 2 deletions
|
@ -415,8 +415,8 @@ echo
|
|||
check_version "2.6.2" "`uname -r`" "KERNEL"
|
||||
check_version "3.0" "$BASH_VERSION" "BASH"
|
||||
check_version "3.0" "`gcc -dumpversion`" "GCC"
|
||||
tarVer=`tar --version`
|
||||
check_version "1.15.0" "${tarVer##* }" "TAR"
|
||||
tarVer=`tar --version | head -n1 | cut -d " " -f4`
|
||||
check_version "1.15.0" "${tarVer}" "TAR"
|
||||
echo "${SD_BORDER}${nl_}"
|
||||
|
||||
validate_config
|
||||
|
|
Reference in a new issue