#!/bin/sh

PLANESHIFT_DIR="/opt/planeshift"

if [[ ! -d "${PLANESHIFT_DIR}" ]] ; then
	echo "Your Planeshift directory is missing. You need to reinstall Planeshift!"
	exit 1
fi

cd "${PLANESHIFT_DIR}"

export CRYSTAL="/opt/crystal/lib/crystalspace"
export CEL="/opt/crystal/lib/cel"

./pssetup $@
