f19fd446e6
ok brad@
37 lines
824 B
Bash
37 lines
824 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: DEINSTALL,v 1.7 2003/01/22 06:56:39 marcm Exp $
|
|
#
|
|
|
|
set -e
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
|
|
FILES='
|
|
leafnode/config
|
|
'
|
|
|
|
SPOOLDIR=/var/spool/news
|
|
|
|
echo
|
|
echo "+--------------- $1"
|
|
echo "| To fully remove $1 from your system you should also"
|
|
echo "| remove the configuration files from the ${SYSCONFDIR}/leafnode"
|
|
echo "| directory as well as the news spool directory ${SPOOLDIR}."
|
|
echo "|"
|
|
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
|
|
echo "+--------------- $1"
|
|
echo
|
|
|
|
exit 0
|