## This script downloads a version of hets (second argument)
## into a directory (first argument)
## the daily hets version and your bin directory is used without arguments
if [ -z "$1" ] ; then
INSTALLDIR="$HOME/bin"
else
INSTALLDIR="$1"
fi
if [ -z "$2" ] ; then # daily
else # version
fi
if [ -d "$INSTALLDIR" ] ; then
if [ -e "$DAILY_HETS" ] ; then
mv "$DAILY_HETS" "$DAILY_HETS"~
fi
if [ -e "$DAILY_HETS_TARGET" ] ; then
rm -f "$DAILY_HETS_TARGET"
fi
else
mkdir -p "$INSTALLDIR"
fi
ARCH_DIR=""
DOWNLOADCMD="curl -o $DAILY_HETS_TARGET"
*86*)
*)
exit 2;;
esac;;
*inux)
i686)
*)
exit 2;;
esac;;
*86)
*)
exit 2;;
esac;;
*)
exit 2;;
esac
DAILY_HETS_URL=http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/$ARCH_DIR/$SOURCE_HETS
# main
echo "Downloaded and saved daily hets to: " $DAILY_HETS
if [ -e "$INSTALLDIR/hets" ] ; then
if [ -L "$INSTALLDIR/hets" ] ; then
else
fi
else
fi