From 888b84d5a0a38a0871a4d82c374fe882ded33a49 Mon Sep 17 00:00:00 2001 From: xsa Date: Mon, 12 Apr 2004 11:55:24 +0000 Subject: [PATCH] @extra support; okay sturm@. --- editors/joe/pkg/DEINSTALL | 4 ++-- editors/joe/pkg/PLIST | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/editors/joe/pkg/DEINSTALL b/editors/joe/pkg/DEINSTALL index 913263525b0..6b5cd92f678 100644 --- a/editors/joe/pkg/DEINSTALL +++ b/editors/joe/pkg/DEINSTALL @@ -1,6 +1,6 @@ #!/bin/sh # $RuOBSD: DEINSTALL,v 1.2 2002/04/10 05:14:52 form Exp $ -# $OpenBSD: DEINSTALL,v 1.4 2002/04/24 11:05:06 form Exp $ +# $OpenBSD: DEINSTALL,v 1.5 2004/04/12 11:55:24 xsa Exp $ # # joe de-installation @@ -9,7 +9,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin PREFIX=${PKG_PREFIX:-/usr/local} CONFIG_DIR=${SYSCONFDIR}/joe -if [ -d $CONFIG_DIR ]; then +if [ ${PKG_DELETE_EXTRA} != Yes -a -d $CONFIG_DIR ]; then echo echo "+---------------" echo "| To completely deinstall the $1 package you need to perform" diff --git a/editors/joe/pkg/PLIST b/editors/joe/pkg/PLIST index 57c0282ab4e..da32a45e558 100644 --- a/editors/joe/pkg/PLIST +++ b/editors/joe/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.9 2002/04/25 02:59:09 form Exp $ +@comment $OpenBSD: PLIST,v 1.10 2004/04/12 11:55:24 xsa Exp $ bin/jmacs bin/joe bin/jpico @@ -15,3 +15,4 @@ share/examples/joe/jstarrc share/examples/joe/rjoerc @dirrm share/examples/joe @dirrm share/doc/joe +@extraunexec rm -rf ${SYSCONFDIR}/joe