# $NetBSD: DEINSTALL,v 1.1.1.1 2004/01/20 13:33:06 xtraeme Exp $

if [ "$2" = DEINSTALL ]
then
	cd @GDMCFGDIR@
	@RM@ -f Sessions/Default
	for SOURCE in @GDMCFGFILES@
	do
		TARGET=${SOURCE%.default*}${SOURCE##*.default}
		if cmp -s $SOURCE $TARGET
		then
			@RM@ -f $TARGET
		fi
	done
fi