summaryrefslogtreecommitdiff
path: root/x11/gdm/DEINSTALL
blob: 6a56cbfc9b4f467b932c0db641eec7f5c90c8503 (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 2001/10/31 22:10:43 zuntum 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