@extra from rohee@

This commit is contained in:
sturm 2004-01-27 19:22:46 +00:00
parent 07d533e5c1
commit b7728a5203
2 changed files with 26 additions and 10 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.8 2003/06/23 19:11:10 sturm Exp $
# $OpenBSD: DEINSTALL,v 1.9 2004/01/27 19:22:46 sturm Exp $
#
set -e
@ -12,24 +12,37 @@ leafnode/config
SPOOLDIR=/var/spool/news
if [ "$PKG_DELETE_EXTRA" == Yes ]
then
/bin/rm -r $SPOOLDIR
fi
echo
echo "+--------------- $1"
echo "| To fully remove $1 from your system you should also"
echo "| remove the configuration files from the ${SYSCONFDIR}/leafnode"
echo "| To fully remove $1 from your system"
if [ "$PKG_DELETE_EXTRA" != Yes ] # else taken care of by pkg_delete -c
then
echo "| You should also remove the configuration files from the ${SYSCONFDIR}/leafnode"
echo "| directory as well as the news spool directory ${SPOOLDIR}."
echo "|"
fi
echo "| You should also remove the '_news' user from the system by running:"
echo "|"
echo "| userdel _news"
echo "|"
echo "| If you are planning on installing $1 again in the future"
echo "| you can leave them as they are."
echo "|"
echo "| FYI, the following configuration files belong to this package:"
echo "|"
for f in ${FILES}; do
echo "| ${SYSCONFDIR}/$f"
done
if [ "$PKG_DELETE_EXTRA" != Yes ]
then
echo "|"
echo "| FYI, the following configuration files belong to this package:"
echo "|"
for f in ${FILES}; do
echo "| ${SYSCONFDIR}/$f"
done
fi
echo "+--------------- $1"
echo

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.9 2003/01/21 16:58:11 marcm Exp $
@comment $OpenBSD: PLIST,v 1.10 2004/01/27 19:22:46 sturm Exp $
bin/leafnode-version
bin/newsq
man/man1/leafnode-version.1
@ -26,3 +26,6 @@ share/examples/leafnode/run.tcpd.dist
share/examples/leafnode/run.tcpserver.dist
@dirrm share/examples/leafnode
@dirrm share/doc/leafnode
@cwd ${SYSCONFDIR}
@extra leafnode/config
@extra leafnode/