From 11223c0fc0dfe534a413004d3e5e83045210c113 Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Wed, 20 Jul 2005 07:55:27 +0000 Subject: [PATCH] executable for gajim-remote.py that will be installed in $PATH --- scripts/gajim-remote | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 scripts/gajim-remote diff --git a/scripts/gajim-remote b/scripts/gajim-remote new file mode 100644 index 000000000..0e2e73b78 --- /dev/null +++ b/scripts/gajim-remote @@ -0,0 +1,27 @@ +#!/bin/sh +## gajim +## +## Gajim Team: +## - Yann Le Boulanger +## - Vincent Hanquez +## - Nikos Kouremenos +## - Dimitur Kirov +## +## Copyright (C) 2003-2005 Gajim Team +## +## 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-remote as root, it is INSECURE" +fi + +cd PREFIX/share/gajim/scripts +export PYTHONPATH="$PYTHONPATH:PREFIX/lib/gajim" +python gajim-remote.py $@