summaryrefslogtreecommitdiffstats
path: root/actions
diff options
context:
space:
mode:
authorSebastien Estienne <sebastien.estienne@gmail.com>2005-10-04 01:42:09 +0000
committerSebastien Estienne <sebastien.estienne@gmail.com>2005-10-04 01:42:09 +0000
commit1180ca5544328d79ae4032a1855d2ec788ecda4d (patch)
tree7e617ce3431cfcef4123d13fcf8cae3342e653ac /actions
parent5f195883dcdf64246ffb958f2297e4b24f57c622 (diff)
* small fix everywhere
git-svn-id: file:///home/lennart/svn/public/service-discovery-applet/trunk@33 3be567f1-68ff-0310-b24a-ad7cc433fd2f
Diffstat (limited to 'actions')
-rw-r--r--actions/services/Makefile.am10
-rwxr-xr-xactions/services/__init__.py.in (renamed from actions/services/__init__.py)14
2 files changed, 22 insertions, 2 deletions
diff --git a/actions/services/Makefile.am b/actions/services/Makefile.am
index 2a28c48..50aa099 100644
--- a/actions/services/Makefile.am
+++ b/actions/services/Makefile.am
@@ -2,4 +2,12 @@ servicesdir = $(ACTIONSDIR)/services
services_SCRIPTS = \
__init__.py
-EXTRA_DIST = $(services_SCRIPTS)
+__init__.py: __init__.py.in
+ sed \
+ -e 's,@PYTHON\@,$(PYTHON),g' \
+ $< > $@
+ chmod +x $@
+
+
+
+EXTRA_DIST = __init__.py.in
diff --git a/actions/services/__init__.py b/actions/services/__init__.py.in
index 748e53c..dc64db4 100755
--- a/actions/services/__init__.py
+++ b/actions/services/__init__.py.in
@@ -1,4 +1,16 @@
-#!/usr/bin/python
+#!@PYTHON@
+# -*-python-*-
+# Copyright (C) 2005 by Sebastien Estienne
+#
+# This file may be distributed and/or modified under the terms of
+# the GNU General Public License version 2 as published by
+# the Free Software Foundation.
+# This file is distributed without any warranty; without even the implied
+# warranty of merchantability or fitness for a particular purpose.
+# See "COPYING" in the source distribution for more information.
+#
+# $id$
+#
import subprocess
import gnome