From 49f9169a3f6a30e3aac1a6f2edb7765485268c99 Mon Sep 17 00:00:00 2001 From: xsa Date: Mon, 12 Apr 2004 10:02:33 +0000 Subject: [PATCH] @extra support. okay sturm@. --- x11/ion/pkg/DEINSTALL | 5 +++-- x11/ion/pkg/PLIST | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/x11/ion/pkg/DEINSTALL b/x11/ion/pkg/DEINSTALL index c3b3871dab2..731b191b91e 100644 --- a/x11/ion/pkg/DEINSTALL +++ b/x11/ion/pkg/DEINSTALL @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/01/02 14:50:35 naddy Exp $ +# $OpenBSD: DEINSTALL,v 1.2 2004/04/12 10:02:33 xsa Exp $ # # De-installation setup of ion @@ -38,7 +38,8 @@ fi # case $2 in DEINSTALL) - if [ -e ${CONFIG_DIR} ]; then + if [ ${PKG_DELETE_EXTRA} != Yes -a \ + -e ${CONFIG_DIR} ]; then do_notice "$1" fi ;; diff --git a/x11/ion/pkg/PLIST b/x11/ion/pkg/PLIST index acfa8095dff..6a1bc9105e1 100644 --- a/x11/ion/pkg/PLIST +++ b/x11/ion/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.2 2002/01/25 07:07:35 mark Exp $ +@comment $OpenBSD: PLIST,v 1.3 2004/04/12 10:02:33 xsa Exp $ bin/ion bin/ion-edit bin/ion-man @@ -18,3 +18,4 @@ share/examples/ion/look-wheat.conf share/examples/ion/sample.conf @dirrm share/examples/ion @dirrm share/doc/ion +@extraunexec rm -rf ${SYSCONFDIR}/ion