summaryrefslogtreecommitdiff
path: root/x11/gdm/pkg/DEINSTALL
blob: 9a3ddaf60cfa67b4ea4b6ceef469ad37bc0e4ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.1.1.1 1999/11/10 23:15:28 tron Exp $

if [ "$2" != POST-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

exit 0