more @extra support; okay sturm@.

This commit is contained in:
xsa 2004-04-13 09:31:06 +00:00
parent b844c54ecb
commit af7302cbe1
8 changed files with 22 additions and 12 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.3 2003/06/22 10:01:35 sturm Exp $
# $OpenBSD: DEINSTALL,v 1.4 2004/04/13 09:31:06 xsa Exp $
#
# opennap de-installation
@ -10,7 +10,7 @@ CONFIG_DIR=${SYSCONFDIR}/opennap
OPENNAPUSER=_opennap
OPENNAPGROUP=_opennap
if [ -d $CONFIG_DIR ]; then
if [ ${PKG_DELETE_EXTRA} != Yes -d $CONFIG_DIR ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2002/08/10 01:14:04 naddy Exp $
@comment $OpenBSD: PLIST,v 1.6 2004/04/13 09:31:06 xsa Exp $
sbin/metaserver
sbin/opennap
sbin/setup
@ -15,3 +15,6 @@ share/examples/opennap/sample.servers
share/examples/opennap/sample.users
@dirrm share/examples/opennap
@dirrm share/doc/opennap
@extraunexec rm -rf ${SYSCONFDIR}/opennap
@extraunexec userdel _opennap
@extraunexec groupdel _opennap

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/03/16 15:30:47 wilfried Exp $
# $OpenBSD: DEINSTALL,v 1.2 2004/04/13 09:31:06 xsa Exp $
#
# De-installation setup of wmtune
@ -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

@ -1,5 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/16 15:30:47 wilfried Exp $
@comment $OpenBSD: PLIST,v 1.2 2004/04/13 09:31:06 xsa Exp $
bin/wmtune
man/man1/wmtune.1
share/examples/wmtune/sample.wmtunerc
@dirrm share/examples/wmtune
@cwd ${SYSCONFDIR}
@extra wmtunerc

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/03/27 09:42:42 kevlo Exp $
# $OpenBSD: DEINSTALL,v 1.2 2004/04/13 09:31:06 xsa Exp $
#
# xhippo de-installation
@ -8,7 +8,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR}/xhippo.config
if [ -f $CONFIG_FILE ]; then
if [ ${PKG_DELETE_EXTRA} != Yes -a -f $CONFIG_FILE ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2003/08/13 13:59:09 espie Exp $
@comment $OpenBSD: PLIST,v 1.6 2004/04/13 09:31:06 xsa Exp $
bin/xhippo
man/man1/xhippo.1
share/doc/xhippo/ChangeLog
@ -15,3 +15,5 @@ share/examples/xhippo/xhippo.config-sample
share/locale/de/LC_MESSAGES/xhippo.mo
@dirrm share/examples/xhippo
@dirrm share/doc/xhippo
@cwd ${SYSCONFDIR}
@extra xhippo.config

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1 2001/01/18 16:41:28 naddy Exp $
# $OpenBSD: DEINSTALL,v 1.2 2004/04/13 09:31:06 xsa Exp $
#
# De-installation setup of xmcd
@ -39,7 +39,8 @@ fi
#
case $2 in
DEINSTALL)
if [ -e ${CONFIG_DIR} -o -e ${DB_DIR} ]; then
if [ ${PKG_DELETE_EXTRA} != Yes -a \
\( -e ${CONFIG_DIR} -o -e ${DB_DIR} \) ]; then
do_notice "$1"
fi
;;

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2001/01/18 16:41:28 naddy Exp $
@comment $OpenBSD: PLIST,v 1.5 2004/04/13 09:31:06 xsa Exp $
bin/cda
bin/cddbcmd
bin/dp2xmcd
@ -195,3 +195,5 @@ share/xmcd/tbl/Yamaha
@dirrm share/xmcd/scripts
@dirrm share/xmcd/tbl
@dirrm share/xmcd
@extraunexec rm -rf ${SYSCONFDIR}/xmcd
@extraunexec rm -rf /var/db/xmcd