freebsd-ports/irc/inspircd/files/pkg-deinstall.in
Beech Rintoul aa86169786 - Update to version 1.1.19
- Add OPTIONS dialogue to enable extra modules
- Add rc.subr start-up script
- Add the usual boilerplate so that inspircd will run as user ircd
  from /usr/ports/UIDs
- Fix compilation so it works with the base system version of the
  openssl libs as well as openssl installed from ports.

PR:		ports/123076
Submitted by:	Matthew Seaman <matthew.seaman@thebunker.net>
Approved by:	Craig Edwards (Brain) <brain@inspircd.org> (maintainer)
2008-05-19 07:01:38 +00:00

32 lines
589 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
inspircd_usr=%%INSPIRCD_USR%%
inspircd_grp=%%INSPIRCD_GRP%%
etcdir=%%ETCDIR%%
inspircd_name=%%PORTNAME%%
case $2 in
POST-DEINSTALL)
cat <<EOMSG
The $inspircd_name port has been deleted. If you are not
upgrading and don't intend to use $inspircd_name any more
then you may wish to delete the $inspircd_usr account,
and the $inspircd_grp group together with the configuration
directory ${etcdir}; which can be done with the
following commands:
# pw userdel -n $inspircd_usr
# rm -rf $etcdir
EOMSG
echo
;;
esac
#
# That's All Folks!
#