#!/bin/sh
#
# Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.  All rights reserved.
#
# Author: Kai Altenfelder, DL3LBA
#
# Small wrapper script to use the HamLog binary in $HOME/hamlog and 
# copy the appropiate *.txt files from /usr/share/hamlog into it.
#
# /usr/bin/hamlog
#

OLDPWD=$HOME

if [ ! -d $HOME/.hamlog ]; then
	mkdir $HOME/.hamlog
	cp /usr/share/hamlog/*.txt $HOME/.hamlog/
fi

cd $HOME/.hamlog

/usr/bin/HamLog-0.9.1

cd -

exit 0

