1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
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

27 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