r3141 - jhalfs/branches/experimental/common

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Fri Sep 29 12:22:59 PDT 2006


Author: georgeb
Date: 2006-09-29 13:22:58 -0600 (Fri, 29 Sep 2006)
New Revision: 3141

Modified:
   jhalfs/branches/experimental/common/func_check_version.sh
Log:
Host system requirements (prerequisites), added test for gzip

Modified: jhalfs/branches/experimental/common/func_check_version.sh
===================================================================
--- jhalfs/branches/experimental/common/func_check_version.sh	2006-09-29 16:52:39 UTC (rev 3140)
+++ jhalfs/branches/experimental/common/func_check_version.sh	2006-09-29 19:22:58 UTC (rev 3141)
@@ -82,7 +82,8 @@
     check_version "4.1.20"   "`find --version | head -n1 | cut -d \" \" -f4`"   "FIND"
     check_version "3.0"      "`gawk --version | head -n1 | cut -d \" \" -f3`"   "GAWK"
     check_version "2.5"      "`grep --version | head -n1 | cut -d \" \" -f4`"   "GREP"
-#  #echo -n "gzip: ";  gzip --version | head -n1
+    gzipVer=$(gzip --version 2>&1 | head -n1 | cut -d" " -f2)
+    check_version "1.2.4"    "$gzipVer"                                         "GZIP"
     check_version "3.79.1"    "`make --version | head -n1 | cut -d \" \" -f3`"  "MAKE"
     check_version "2.5.4"    "`patch --version | head -n1 | cut -d \" \" -f2`"  "PATCH"
     check_version "3.0.2"    "`sed --version | head -n1 | cut -d \" \" -f4`"    "SED"




More information about the alfs-log mailing list