Changeset 39 for bootstrapper


Ignore:
Timestamp:
Jun 2, 2014, 1:39:16 PM (10 years ago)
Author:
alloc
Message:

Minor bootstrapper changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootstrapper/bootstrap.sh

    r38 r39  
    9595
    9696checkSetupDeps() {
    97         which gcc > /dev/null
    98         if [ $? -ne 0 ]; then
    99                 echo "'gcc' not installed. Please install it and run this script again."
    100                 exit 1
    101         fi
    102 
    103         which wget > /dev/null
    104         if [ $? -ne 0 ]; then
    105                 echo "'wget' not installed. Please install it and run this script again."
    106                 exit 1
    107         fi
    108 
    109         which tr > /dev/null
    110         if [ $? -ne 0 ]; then
    111                 echo "'tr' not installed. Please install it and run this script again."
    112                 exit 1
    113         fi
     97        for DEP in "gcc wget tr rsync xmlstarlet"; do
     98                which $DEP > /dev/null
     99                if [ $? -ne 0 ]; then
     100                        echo "\"$DEP\" not installed. Please install it and run this script again."
     101                        exit 1
     102                fi
     103        done
    114104       
    115105        ldconfig -p | grep gcc | grep -v 64 > /dev/null
Note: See TracChangeset for help on using the changeset viewer.