updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / xchat-bttrw-svn / xchat-bttrw-svn.install
blob41d59ce810120f400d1768747b090075cf2756d4
1 post_install() {
2         echo "-----------------------------------"
3         echo "To run xchat-bttrw as daemon, write"
4         echo "xchat-bttrw to your daemons()"
5         echo "in /etc/rc.conf file."
6         echo "Configuration is in /etc/conf.d/xchat-bttrw"
7         echo "-----------------------------------"
8         echo "Your client have to connect to"
9         echo "localhost, port 6669. Default"
10         echo "encoding is UTF-8. For more informations"
11         echo "visit http://wiki.nomi.cz"
12         /bin/true
14 pre_remove() {
16         [ ! -z "$PID" ]  && kill $PID &> /dev/null
17         rm /var/run/xchat-bttrw.pid
18         rm_daemon xchat-bttrw
20         echo "-----------------------------------------"
21         echo "Don't forget to remove xchat-bttrw from"
22         echo "you daemons() in /etc/rc.conf file."
23         echo "-----------------------------------------"
24         /bin/true
27 op=$1
28 shift
30 $op "$@"