|
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 | |
|---|
| 21 | if [ `id -u` -eq 0 ]; then |
|---|
| 22 | echo "You must not launch gajim-remote as root, it is INSECURE" |
|---|
| 23 | fi |
|---|
| 24 | |
|---|
| 25 | cd PREFIX/share/gajim/src |
|---|
| 26 | export PYTHONPATH="$PYTHONPATH:PREFIXLIB/gajim" |
|---|
| 27 | python gajim-remote.py $@ |
|---|