2004-11-25 20:27:09 +01:00
|
|
|
#!/bin/sh
|
|
|
|
## gajim
|
|
|
|
##
|
|
|
|
## Gajim Team:
|
2005-01-07 22:52:38 +01:00
|
|
|
## - Yann Le Boulanger <asterix@lagaule.org>
|
2004-11-25 20:27:09 +01:00
|
|
|
## - Vincent Hanquez <tab@snarc.org>
|
2005-04-01 01:26:05 +02:00
|
|
|
## - Nikos Kouremenos <kourem@gmail.com>
|
2004-11-25 20:27:09 +01:00
|
|
|
##
|
2005-01-07 22:52:38 +01:00
|
|
|
## Copyright (C) 2003-2005 Gajim Team
|
2004-11-25 20:27:09 +01:00
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published
|
|
|
|
## by the Free Software Foundation; version 2 only.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
|
|
|
|
if [ `id -u` -eq 0 ]; then
|
2005-05-09 14:23:08 +02:00
|
|
|
echo "You must not launch Gajim as root, it is INSECURE"
|
2004-11-25 20:27:09 +01:00
|
|
|
fi
|
|
|
|
|
2005-04-22 23:29:40 +02:00
|
|
|
cd PREFIX/share/gajim/src
|
2005-08-01 11:00:18 +02:00
|
|
|
export PYTHONPATH="$PYTHONPATH:PREFIXLIB/gajim"
|
2005-09-07 11:28:01 +02:00
|
|
|
exec python -OOt ./gajim.py $@
|