support conf file removal

This commit is contained in:
naddy 2003-08-22 13:21:12 +00:00
parent 42026b1894
commit 1954228a24
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/02/18 16:27:28 naddy Exp $
# $OpenBSD: DEINSTALL,v 1.2 2003/08/22 13:21:12 naddy Exp $
#
# De-installation setup of xdmchoose
@ -38,7 +38,7 @@ fi
#
case $2 in
DEINSTALL)
if [ -f ${CONFIG_FILE} ]; then
if [ "$PKG_DELETE_EXTRA" != Yes -a -f ${CONFIG_FILE} ]; then
do_notice "$1"
fi
;;

View File

@ -13,5 +13,3 @@ To get this to work, add/modify the following line in the xdm-config
file:
DisplayManager*chooser: ${PREFIX}/bin/xdmchooser
WWW: ${HOMEPAGE}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2003/05/12 20:11:29 naddy Exp $
@comment $OpenBSD: PLIST,v 1.3 2003/08/22 13:21:12 naddy Exp $
bin/xdmchooser
bin/xdmping
man/man1/xdmchoose.1
@ -9,3 +9,5 @@ share/xdmchoose/xdmchoose-plain.xpm
share/xdmchoose/xdmchoose-tiled.xpm
@dirrm share/xdmchoose
@dirrm share/examples/xdmchoose
@cwd ${SYSCONFDIR}
@extra xdmchoose.conf