#!/bin/sh
if [ ! -e ~/.rocrail ] ; then
	mkdir ~/.rocrail
fi

if [ ! -e ~/.rocrail/rocview.ini ] ; then
	cp /usr/lib64/rocrail/plan.xml ~/.rocrail
fi

if [ ! -e ~/.rocrail/svg ] ; then
	ln -s /usr/lib64/rocrail/svg ~/.rocrail/svg
fi

if [ ! -e ~/.rocrail/images ] ; then
	ln -s /usr/lib64/rocrail/images ~/.rocrail/images
fi

cd ~/.rocrail

/usr/lib64/rocrail/rocview -sp /usr/lib64/rocrail -themespath .   
