diff options
Diffstat (limited to 'x11/gdm/DEINSTALL')
-rw-r--r-- | x11/gdm/DEINSTALL | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/gdm/DEINSTALL b/x11/gdm/DEINSTALL new file mode 100644 index 00000000000..6a56cbfc9b4 --- /dev/null +++ b/x11/gdm/DEINSTALL @@ -0,0 +1,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 |