3 # This file is part of the aMule project.
5 # Copyright (c) 2003-2011 aMule Team ( admin@amule.org / http://www.amule.org )
6 # Copyright (c) 2006-2011 Werner Mahr (Vollstrecker) ( amule@vollstreckernet.de )
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either
11 # version 2 of the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
24 exec_prefix
=@exec_prefix@
25 xas_bin
=@libdir@
/xchat
/plugins
/xas.pl
27 if [ -z $xas_bin ] ; then
28 echo "xas.pl: Plugin not found"
32 if [ -d ~
/.xchat2
] ; then
33 if [ -e ~
/.xchat
2/xas.pl
] ; then
36 ln -s $xas_bin ~
/.xchat
2/xas.pl
&& echo "autostart successfully added"
37 if ps
-A |
grep -q xchat
; then
38 echo "You have to restart XChat to autoload xas.pl"
41 echo "XChat-Datadir not found"