root/branches/gajim_0.11.1/scripts/gajim.in

Revision 7198, 1.3 kB (checked in by dkirov, 23 months ago)

keep defs in defs.py.in
switch autogen order
dist defs.py.in

Line 
1#!/bin/bash
2##      gajim
3##
4## Contributors for this file:
5##      - Yann Le Boulanger <asterix@lagaule.org>
6##      - Nikos Kouremenos <kourem@gmail.com>
7##
8## Copyright (C) 2003-2004 Yann Le Boulanger <asterix@lagaule.org>
9##                         Vincent Hanquez <tab@snarc.org>
10## Copyright (C) 2005 Yann Le Boulanger <asterix@lagaule.org>
11##                    Vincent Hanquez <tab@snarc.org>
12##                    Nikos Kouremenos <nkour@jabber.org>
13##                    Dimitur Kirov <dkirov@gmail.com>
14##                    Travis Shirk <travis@pobox.com>
15##                    Norman Rasmussen <norman@rasmussen.co.za>
16##
17## This program is free software; you can redistribute it and/or modify
18## it under the terms of the GNU General Public License as published
19## by the Free Software Foundation; version 2 only.
20##
21## This program is distributed in the hope that it will be useful,
22## but WITHOUT ANY WARRANTY; without even the implied warranty of
23## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24## GNU General Public License for more details.
25
26if [ `id -u` -eq 0 ]; then
27        echo "You must not launch Gajim as root, it is INSECURE"
28fi
29
30datadir=@DATADIR@
31PYTHON_EXEC=@PYTHON@
32
33cd ${datadir}/gajim/src
34export PYTHONPATH="$PYTHONPATH:@LIBDIR@/gajim"
35exec -a gajim ${PYTHON_EXEC} -OO gajim.py $@
Note: See TracBrowser for help on using the browser.