Changeset cf829f0 for common/libs


Ignore:
Timestamp:
07/24/2007 08:21:18 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
e05fba2
Parents:
9436828
Message:

func_check_version.sh:
ask the user instead of bomb, to make happy that packages which version
ouput don't follow our expectations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_check_version.sh

    r9436828 rcf829f0  
    3535     echo -e "\n\t\t$TXT version -->${tst_version}<-- is too old.
    3636                    This script requires ${ref_version} or greater\n"
    37      exit 1
     37   # Ask the user instead of bomb, to make happy that packages which version
     38   # ouput don't follow our expectations
     39    echo "If you are sure that you have instaled a proper version of ${BOLD}$TXT${OFF}"
     40    echo "but jhalfs has failed to detect it, press 'c' and 'ENTER' keys to continue,"
     41    echo -n "otherwise press 'ENTER' key to stop jhalfs.  "
     42    read ANSWER
     43    if [ x$ANSWER != "xc" ] ; then
     44      echo "${nl_}Please, install a proper $TXT version.${nl_}"
     45      exit 1
     46    else
     47      minor=$ref_minor
     48      revision=$ref_revision
     49    fi
    3850  }
    3951
Note: See TracChangeset for help on using the changeset viewer.