Changeset 42 for bootstrapper


Ignore:
Timestamp:
Jun 2, 2014, 2:01:37 PM (11 years ago)
Author:
alloc
Message:

Minor bootstrapper changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootstrapper/bootstrap.sh

    r41 r42  
    103103        done
    104104       
    105         ldconfig -p | grep gcc | grep -v 64 > /dev/null
     105        ldconfig -p | grep ld-linux | grep "(ELF)" > /dev/null
    106106        if [ $? -ne 0 ]; then
    107                 echo "There probably is no 32 Bit version of libgcc installed."
    108                 echo "Do you want to continue?"
     107                echo "WARNING: There probably is no 32 Bit version of ld-linux installed."
     108                echo "This is most probably part of a 32 Bit version of a glibc-package."
     109                echo "Do you want to continue anyway?"
    109110                select yn in "Yes" "No"; do
    110111                        case $yn in
     
    118119                done
    119120        fi
     121
     122        ldconfig -p | grep gcc | grep -v 64 > /dev/null
     123        if [ $? -ne 0 ]; then
     124                echo "WARNING: There probably is no 32 Bit version of libgcc installed."
     125                echo "Do you want to continue anyway?"
     126                select yn in "Yes" "No"; do
     127                        case $yn in
     128                                Yes)
     129                                        break;;
     130                                No)
     131                                        echo "Aborting."
     132                                        exit 1
     133                                        ;;
     134                        esac
     135                done
     136        fi
    120137}
    121138
Note: See TracChangeset for help on using the changeset viewer.