|
Revision 6158, 1.2 kB
(checked in by asterix, 3 years ago)
|
|
make install can now handle sevral version of python by using make install PYTHON=python2.4 for exemple.
|
-
Property svn:eol-style set to
LF
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 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 | |
|---|
| 26 | if [ `id -u` -eq 0 ]; then |
|---|
| 27 | echo "You must not launch Gajim as root, it is INSECURE" |
|---|
| 28 | fi |
|---|
| 29 | |
|---|
| 30 | cd PREFIX/share/gajim/src |
|---|
| 31 | export PYTHONPATH="$PYTHONPATH:PREFIXLIB/gajim" |
|---|
| 32 | exec PYTHON_EXEC -OO gajim.py $@ |
|---|