#!/bin/sh
SENDER='brewery';

cd /users/brewery/public_html/gambmug/recs
if [ -r REC_ADDED.flg ] 
then
	rm REC_ADDED.flg
	cd /users/brewery/public_html/gambmug
	mkgmindx > /dev/null

# Notify Karl that a recipe (or more) were added on this update
mail -s "Gambrinus' Mug AutoIndex" $SENDER <<!EOF!
File(s) have been added to Gambrinu's Mug.  Please check that 
everything went smoothly.

Thank you.
!EOF!

fi


