root/branches/gajim_0.8.2/scripts/gajim-remote

Revision 3450, 0.9 kB (checked in by nk, 3 years ago)

gajim-remote fix

Line 
1#!/bin/sh
2##      gajim
3##
4## Gajim Team:
5##      - Yann Le Boulanger <asterix@lagaule.org>
6##      - Vincent Hanquez <tab@snarc.org>
7##              - Nikos Kouremenos <kourem@gmail.com>
8##              - Dimitur Kirov <dkirov@gmail.com>
9##             
10##      Copyright (C) 2003-2005 Gajim Team
11##
12## This program is free software; you can redistribute it and/or modify
13## it under the terms of the GNU General Public License as published
14## by the Free Software Foundation; version 2 only.
15##
16## This program is distributed in the hope that it will be useful,
17## but WITHOUT ANY WARRANTY; without even the implied warranty of
18## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19## GNU General Public License for more details.
20
21if [ `id -u` -eq 0 ]; then
22        echo "You must not launch gajim-remote as root, it is INSECURE"
23fi
24
25cd PREFIX/share/gajim/src
26export PYTHONPATH="$PYTHONPATH:PREFIXLIB/gajim"
27python gajim-remote.py $@
Note: See TracBrowser for help on using the browser.