# Exit on error:
set -e

wget https://xearth.org/xearth-1.1.tar.gz
tar xf xearth-1.1.tar.gz
cd xearth-1.1
mv Makefile.DIST Makefile
cp xearth /bin
cd ..
rm -rf xearth-1.1
rm xearth-1.1.tar.gz

exit 0
