root/trunk/scripts/gajim.in

Revision 10247, 1.1 kB (checked in by roidelapluie, 4 months ago)
  • Big headers review
  • Remove some licencing problems
  • To do: same for images
  • See #4200
Line 
1#!/bin/sh
2## scripts/gajim.in
3##
4## Copyright (C) 2005 Yann Le Boulanger <asterix AT lagaule.org>
5## Copyright (C) 2006 Dimitur Kirov <dkirov AT gmail.com>
6##                    Stefan Bethge <stefan AT lanpartei.de>
7## Copyright (C) 2008 Jonathan Schleifer <js-gajim AT webkeks.org>
8##
9## This file is part of Gajim.
10##
11## Gajim is free software; you can redistribute it and/or modify
12## it under the terms of the GNU General Public License as published
13## by the Free Software Foundation; version 3 only.
14##
15## Gajim is distributed in the hope that it will be useful,
16## but WITHOUT ANY WARRANTY; without even the implied warranty of
17## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18## GNU General Public License for more details.
19##
20## You should have received a copy of the GNU General Public License
21## along with Gajim. If not, see <http://www.gnu.org/licenses/>.
22##
23
24if test $(id -u) -eq 0; then
25        echo "You must not launch Gajim as root, it is INSECURE"
26        exit 1
27fi
28
29datadir=@DATADIR@
30PYTHON_EXEC=@PYTHON@
31
32cd ${datadir}/gajim/src
33export PYTHONPATH="$PYTHONPATH:@LIBDIR@/gajim"
34exec ${PYTHON_EXEC} -OO gajim.py $@
Note: See TracBrowser for help on using the browser.