#!/bin/bash
#post install script
set -e
ln -s /opt/VisionObjects/myscriptstylus/MyScriptStylus /usr/bin/MyScriptStylus

DOCLANG=`echo $LANG | cut -b-2`

if [ -d /usr/share/doc/myscriptstylus/doc-$DOCLANG ] ; then
ln -s /usr/share/doc/myscriptstylus/doc-$DOCLANG /usr/share/doc/myscriptstylus/doc
else
ln -s /usr/share/doc/myscriptstylus/doc-en /usr/share/doc/myscriptstylus/doc
fi
exit 0
