#!/bin/bash ## gajim ## ## Contributors for this file: ## - Yann Le Boulanger ## - Nikos Kouremenos ## ## Copyright (C) 2003-2004 Yann Le Boulanger ## Vincent Hanquez ## Copyright (C) 2005 Yann Le Boulanger ## Vincent Hanquez ## Nikos Kouremenos ## Dimitur Kirov ## Travis Shirk ## Norman Rasmussen ## ## 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 as root, it is INSECURE" fi datadir=@DATADIR@ PYTHON_EXEC=@PYTHON@ cd ${datadir}/gajim/src export PYTHONPATH="$PYTHONPATH:@LIBDIR@/gajim" exec -a gajim ${PYTHON_EXEC} -OO gajim.py $@