straightforward support for configuration file removal; ok brad@
This commit is contained in:
parent
422bc42145
commit
21e3ec4382
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.2 2001/02/18 20:48:38 brad Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.3 2003/10/18 00:37:18 naddy Exp $
|
||||
#
|
||||
# esound de-installation
|
||||
|
||||
@ -8,7 +8,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_FILE=${SYSCONFDIR}/esd.conf
|
||||
|
||||
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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.10 2002/08/07 13:46:34 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.11 2003/10/18 00:37:18 naddy Exp $
|
||||
bin/esd
|
||||
bin/esd-config
|
||||
bin/esdcat
|
||||
@ -28,3 +28,5 @@ man/man1/esdsample.1
|
||||
share/aclocal/esd.m4
|
||||
share/examples/esound/esd.conf-sample
|
||||
@dirrm share/examples/esound
|
||||
@cwd ${SYSCONFDIR}
|
||||
@extra esd.conf
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.4 2002/01/13 04:56:18 brad Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.5 2003/10/18 00:37:18 naddy Exp $
|
||||
#
|
||||
# fnlib de-installation
|
||||
|
||||
@ -8,7 +8,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_FILE=${SYSCONFDIR}/fnrc
|
||||
|
||||
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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2002/01/13 04:56:18 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2003/10/18 00:37:18 naddy Exp $
|
||||
include/Fnlib.h
|
||||
include/Fnlib_types.h
|
||||
lib/libFnlib.a
|
||||
@ -254,3 +254,5 @@ share/fnlib_fonts/shinymetal/fontinfo
|
||||
@dirrm share/fnlib_fonts/shinymetal/45
|
||||
@dirrm share/fnlib_fonts/shinymetal
|
||||
@dirrm share/fnlib_fonts
|
||||
@cwd ${SYSCONFDIR}
|
||||
@extra fnrc
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.2 2001/03/02 19:55:32 brad Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.3 2003/10/18 00:37:18 naddy Exp $
|
||||
#
|
||||
# Imlib de-installation
|
||||
|
||||
@ -8,17 +8,19 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_DIR=${SYSCONFDIR}
|
||||
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm -f $CONFIG_DIR/imrc"
|
||||
echo "| rm -f $CONFIG_DIR/im_palette.pal"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
echo "+---------------"
|
||||
echo
|
||||
if [ "$PKG_DELETE_EXTRA" != Yes ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm -f $CONFIG_DIR/imrc"
|
||||
echo "| rm -f $CONFIG_DIR/im_palette.pal"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
echo "+---------------"
|
||||
echo
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.9 2001/11/10 20:45:48 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.10 2003/10/18 00:37:18 naddy Exp $
|
||||
bin/imlib-config
|
||||
bin/imlib_config
|
||||
include/Imlib.h
|
||||
@ -20,3 +20,6 @@ share/examples/imlib/im_palette-tiny.pal
|
||||
share/examples/imlib/im_palette.pal
|
||||
share/examples/imlib/imrc-sample
|
||||
@dirrm share/examples/imlib
|
||||
@cwd ${SYSCONFDIR}
|
||||
@extra imrc
|
||||
@extra im_palette.pal
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.4 2000/08/15 05:47:15 brad Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.5 2003/10/18 00:37:19 naddy Exp $
|
||||
#
|
||||
# wget de-installation
|
||||
|
||||
@ -8,7 +8,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_FILE=${SYSCONFDIR}/wgetrc
|
||||
|
||||
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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.15 2003/05/14 15:03:52 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.16 2003/10/18 00:37:19 naddy Exp $
|
||||
bin/wget
|
||||
@unexec install-info --delete --info-dir=%D/info %D/info/wget.info
|
||||
info/wget.info
|
||||
@ -85,3 +85,5 @@ share/locale/zh_TW/LC_MESSAGES/wget.mo
|
||||
@comment @dirrm share/locale/bg
|
||||
@comment @dirrm share/locale
|
||||
@dirrm share/examples/wget
|
||||
@cwd ${SYSCONFDIR}
|
||||
@extra wgetrc
|
||||
|
Loading…
x
Reference in New Issue
Block a user