#!/bin/bash
#$version=2
# 1 2017-06-05 first versioned file
# 2 2024-05-01 check for versions of python
echo "Checking installation of database files..."
cd $1/dbase
if builtin type -P python &> /dev/null; then
python checkTerrain.py
elif builtin type -P python2 &> /dev/null; then
python2 checkTerrain.py
elif builtin type -P python3 &> /dev/null; then
python3 checkTerrain.py
else
echo "**Error - Python must be installed to run this check"
fi
