freebsd-ports/irc/ircd-rusnet/pkg-deinstall
Pav Lucistnik f45a93b433 Special version of IRC server for RusNet IRC Network.
In addition to base features of ircd 2.9.10 it supports
russian charsets translation (koi8-r,cp1251,translit, etc..)
and also some RusNet protocol extensions.

PR:		ports/80061
Submitted by:	SeaD <sead@mail.ru>
2005-04-20 16:22:40 +00:00

26 lines
399 B
Bash

#! /bin/sh
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
PATH=/bin:/usr/bin
USER=ircd
GROUP=${USER}
if /usr/sbin/pw groupdel ${GROUP}; then
echo "Deleted group \"${GROUP}\""
else
echo "Deleting group \"${GROUP}\" failed"
exit 1
fi
if /usr/sbin/pw userdel ${USER}; then
echo "Deleted user \"${USER}\""
else
echo "Deleting user \"${USER}\" failed"
exit 1
fi
exit 0