mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
f45a93b433
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>
27 lines
399 B
Bash
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
|