#!/bin/sh # # Install the tintin++ executable and help file. # strip tt++ case "$1" in .|./) ;; *) echo Moving tt++ to $1/ ...; mv tt++ $1/;; esac if [ '!' -f $HOME/.tintinrc ] then cat <<EOF You need a .tintinrc file in your HOME directory. There is a sample one in support/. You should take a look at it. EOF else if ! grep pathdir $HOME/.tintinrc >/dev/null then cat <<EOF I see you already have a .tintinrc, but you do not have any #pathdir commands in it. Take a look at support/.tintinrc. It has some examples in there. EOF fi fi cat <<EOF Your installation of tintin++ is now complete. If you have any questions, problems, or comments, you may email us at the address listed in the README, or type ./gripe from the src/ directory. Enjoy! -- The tintin++ development team EOF exit 0