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>
26 lines
399 B
Bash
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
|