Changeset 960099f for common


Ignore:
Timestamp:
02/20/2013 08:41:22 AM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Children:
76f8888
Parents:
ad89c45
Message:

Merge trunk rev 3654

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_check_version.sh

    rad89c45 r960099f  
    120120  fi
    121121
     122  # Check for minimum wget version
     123  WGET_LOC="$(whereis -b wget | cut -d" " -f2)"
     124  if [ -x $WGET_LOC ]; then
     125    wgetVer="$(wget --version | head -n1 | cut -d" " -f3)"
     126    check_version "1.0.0"  "${wgetVer}"      "WGET"
     127  else
     128    echo "${nl_}\"${RED}wget${OFF}\" ${BOLD}must be installed on your system for jhalfs to run"
     129    exit 1
     130  fi
     131
    122132  # Check for minimum libxml2 and libxslt versions
    123133  xsltprocVer=$(xsltproc -V | head -n1 )
Note: See TracChangeset for help on using the changeset viewer.