change extraction of tar version number, latest version is verbose

This commit is contained in:
George Boudreau 2006-06-03 02:25:02 +00:00
parent 56a01d4888
commit 27f165a8d5

View file

@ -415,8 +415,8 @@ echo
check_version "2.6.2" "`uname -r`" "KERNEL" check_version "2.6.2" "`uname -r`" "KERNEL"
check_version "3.0" "$BASH_VERSION" "BASH" check_version "3.0" "$BASH_VERSION" "BASH"
check_version "3.0" "`gcc -dumpversion`" "GCC" check_version "3.0" "`gcc -dumpversion`" "GCC"
tarVer=`tar --version` tarVer=`tar --version | head -n1 | cut -d " " -f4`
check_version "1.15.0" "${tarVer##* }" "TAR" check_version "1.15.0" "${tarVer}" "TAR"
echo "${SD_BORDER}${nl_}" echo "${SD_BORDER}${nl_}"
validate_config validate_config