Changeset c88d594
- Timestamp:
- 09/12/2006 09:31:29 PM (18 years ago)
- Branches:
- experimental
- Children:
- 917166e
- Parents:
- 1cc1575
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
common/func_check_version.sh
r1cc1575 rc88d594 31 31 local IFS 32 32 33 # if echo $ref_version | grep [[:alpha:]] 2>&1 >/dev/null ||34 # echo $tst_version | grep [[:alpha:]] 2>&1 >/dev/null ;then35 # echo "Cannot test for text, 0.0.0a, version types, assuming 'success' "36 # return37 # fi38 39 33 write_error_and_die() { 40 34 echo -e "\n\t\t$TXT version -->${tst_version}<-- is too old. … … 44 38 45 39 echo -ne "$TXT:\t${L_arrow}${BOLD}${tst_version}${OFF}${R_arrow}" 46 IFS=".-( " # Split up w.x.y.z as well as w.x.y-rc (catch release candidates)40 IFS=".-(p" # Split up w.x.y.z as well as w.x.y-rc (catch release candidates) 47 41 set -- $ref_version # set postional parameters to minimum ver values 48 42 ref_major=$1; ref_minor=$2; ref_revision=$3 -
jhalfs
r1cc1575 rc88d594 254 254 sudoVer=`sudo -V | head -n1 | cut -d " " -f3` 255 255 echo "SUDO ${L_arrow}${BOLD}${sudoVer}${R_arrow}${OFF} ..OK" 256 check_version "1.0.0" "${sudoVer}" "SUDO" 256 257 else 257 258 echo "${nl_}\"${RED}sudo${OFF}\" ${BOLD}must be installed on your system for jhalfs to run"
Note:
See TracChangeset
for help on using the changeset viewer.