#!/bin/sh

# CatGrab for Linux
# Run this script in the Terminal
# This script starts the instalaltions routine for linux.


if ls ../../catgrab-install/ > /dev/null
	then
		:
	else
		echo 'ERROR: Please change in the "catgrab-install" directory and type: sudo ./INSTALL_LINUX'
		exit
	fi

if which python > /dev/null
	then
		cd ../dat/su/
		python catuinst.py
	else
		echo 'There is no Python Interpreter installed! Please install Python in version as described in the README file and try it again.'
	fi

exit
