#!/bin/sh
# -*- Mode: sh -*-
# Copyright (C) 2002 by Per yvind Karlsen<peroyvind@delonic.no>,
# Delonic Technology Group
# Redistribution of this file is permitted under the terms of the GNU
# Public License (GPL)

true_binary=/usr/bin/muh.bin
if [ ! $1 ]; then
	if [ ! -d ~/.muh ]; then
		echo "You're running muh without any directory comment,";
		echo "and no ~/.muh directory exists!";
		echo "Will now create one";
		cp -r /usr/share/muh ~/.muh;
		echo "Done, please edit ~/.muh/ before starting muh again";
		exit;
fi
fi
${true_binary} "$@"
