- echo "the curently used Third Party libraries are NOT in $installPrefixThird but in :"
- grep "installPrefixThird=" /etc/bashrc
- echo "VTK_DIR :...." $VTK_DIR
- echo "ITK_DIR :...." $ITK_DIR
- echo "GDCM_DIR :..." $GDCM_DIR
- echo "(Have a look at /etc/bashrc, edit it or run again Install Third Party Libraries if you disagree)"
+ if [ ! -f /etc/bashrc ]
+ then
+ echo
+ echo "You are probabely running under UBUNTU OS ?"
+ echo "Troubles expected!"
+ echo
+ echo "Hit any key to continue"
+ read a
+ else
+ echo "the curently used Third Party libraries are NOT in $installPrefixThird but in :"
+ grep "installPrefixThird=" /etc/bashrc
+ echo "VTK_DIR :...." $VTK_DIR
+ echo "ITK_DIR :...." $ITK_DIR
+ echo "GDCM_DIR :..." $GDCM_DIR
+ echo "(Have a look at /etc/bashrc, edit it or run again Install Third Party Libraries if you disagree)"
+ fi