diff options
author | zuntum <zuntum> | 2001-10-31 22:03:21 +0000 |
---|---|---|
committer | zuntum <zuntum> | 2001-10-31 22:03:21 +0000 |
commit | 079c6e869f22994700b0be133aef1f87363bc9ac (patch) | |
tree | 8ff0c0747d9d6438c6411ba57bcffd7476fce523 /x11/gdm/DEINSTALL | |
parent | 357035734b69b9da4b409c072366a328aaddabc2 (diff) | |
download | pkgsrc-079c6e869f22994700b0be133aef1f87363bc9ac.tar.gz |
Move pkg/ files into package's toplevel directory
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 |