summaryrefslogtreecommitdiff
path: root/x11/gdm1/DEINSTALL
blob: 6f96097cf6d94ee1c8ca6d7115592e2cc2687ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $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