updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / ircd-ratbox-testing / ircd-ratbox.install
blobfb3153ff17dfc34b5893e57afed0eaf46b724d90
1 post_install() {
2     if [ -z `grep -i "^ircd" /etc/group` ]; then
3         echo " :: Creating ircd-group"
4         groupadd -r ircd
5     fi
6     if [ -z `grep -i "^ircd" /etc/passwd` ]; then
7         echo " :: Creating ircd-user"
8         useradd -g ircd -r ircd
9     fi
11     echo " :: Copy /etc/ircd-ratbox/example.conf to /etc/ircd-ratbox/ircd.conf to use the example config."