Updated scripts, new class notes
This commit is contained in:
@@ -31,11 +31,7 @@ while [ "$#" -gt 0 ]; do
|
||||
done
|
||||
|
||||
echo "Checking internet connection"
|
||||
case "$OSTYPE" in
|
||||
linux-gnu* ) ping tx.fhir.org -4 -c 1 -w 1000 >/dev/null ;;
|
||||
darwin* ) ping tx.fhir.org -c 1 >/dev/null ;;
|
||||
*) echo "unknown: $OSTYPE"; exit 1 ;;
|
||||
esac
|
||||
curl -sSf tx.fhir.org > /dev/null
|
||||
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "Offline (or the terminology server is down), unable to update. Exiting"
|
||||
|
||||
Reference in New Issue
Block a user