openbsd-ports/news/leafnode/pkg/DEINSTALL
sturm 58ca9acb21 new user naming schema
bump PKGNAME where necessary

rohee@ ok leafnode
"you don't have to wait for oks" pval@
2003-06-23 19:11:10 +00:00

37 lines
826 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.8 2003/06/23 19:11:10 sturm 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