2005-07-20 09:55:27 +02:00
|
|
|
#!/bin/sh
|
|
|
|
## gajim
|
|
|
|
##
|
2005-12-09 18:15:30 +01:00
|
|
|
## Contributors for this file:
|
2005-07-20 09:55:27 +02:00
|
|
|
## - Yann Le Boulanger <asterix@lagaule.org>
|
2005-09-04 13:33:14 +02:00
|
|
|
## - Nikos Kouremenos <kourem@gmail.com>
|
|
|
|
## - Dimitur Kirov <dkirov@gmail.com>
|
2005-07-20 09:55:27 +02:00
|
|
|
##
|
|
|
|
## Copyright (C) 2003-2005 Gajim Team
|
|
|
|
##
|
|
|
|
## 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
|
|
|
|
echo "You must not launch gajim-remote as root, it is INSECURE"
|
|
|
|
fi
|
|
|
|
|
2005-09-04 13:33:14 +02:00
|
|
|
cd PREFIX/share/gajim/src
|
2005-08-01 11:00:18 +02:00
|
|
|
export PYTHONPATH="$PYTHONPATH:PREFIXLIB/gajim"
|
2005-11-09 20:35:31 +01:00
|
|
|
exec python -OOt gajim-remote.py "$@"
|