gajim-remote 1.29 KB
Newer Older
dkirov's avatar
dkirov committed
1 2 3
#!/bin/sh
##      gajim
##
4
## Contributors for this file:
dkirov's avatar
dkirov committed
5
##      - Yann Le Boulanger <asterix@lagaule.org>
6 7
##	- Nikos Kouremenos <kourem@gmail.com>
##	- Dimitur Kirov <dkirov@gmail.com>
dkirov's avatar
dkirov committed
8
##		
9 10 11 12 13 14 15 16
## Copyright (C) 2003-2004 Yann Le Boulanger <asterix@lagaule.org>
##                         Vincent Hanquez <tab@snarc.org>
## Copyright (C) 2005 Yann Le Boulanger <asterix@lagaule.org>
##                    Vincent Hanquez <tab@snarc.org>
##                    Nikos Kouremenos <nkour@jabber.org>
##                    Dimitur Kirov <dkirov@gmail.com>
##                    Travis Shirk <travis@pobox.com>
##                    Norman Rasmussen <norman@rasmussen.co.za>
dkirov's avatar
dkirov committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30
##
## 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

31
cd PREFIX/share/gajim/src
32
export PYTHONPATH="$PYTHONPATH:PREFIXLIB/gajim"
33
exec PYTHON_EXEC -OO gajim-remote.py "$@"