Package: roundup Severity: normal User: [EMAIL PROTECTED] Usertags: origin-ubuntu intrepid ubuntu-patch
Please don't use the versioned interpreter for the scripts. The attached patch should fix it. Thank you. -- Iulian
--- debian/rules 2008-11-17 17:49:00.000000000 +0000 +++ debian/rules.orig 2008-11-17 17:47:39.000000000 +0000 @@ -6,7 +6,7 @@ export DH_VERBOSE=1 -UPSTREAM_VERSION=1.4.4 +UPSTREAM_VERSION=1.4.1 DEB_SRCDIR=$(CURDIR) ROOT=$(DEB_SRCDIR)/debian/$(PACKAGE) @@ -16,9 +16,6 @@ DEB_PYTHON_SYSTEM=pycentral -DEB_PYTHON_VERSIONS=all - - include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk include /usr/share/cdbs/1/rules/dpatch.mk @@ -32,6 +29,20 @@ perl debian/dh_installoverrides rm -f $(DOC)/*.1 + : # Replace all '#!' calls to python with /usr/bin/python + : # and make them executable + for i in `find debian/roundup -type f`; do \ + sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ + $$i > $$i.temp; \ + if cmp --quiet $$i $$i.temp; then \ + rm -f $$i.temp; \ + else \ + mv -f $$i.temp $$i; \ + chmod 755 $$i; \ + echo "fixed interpreter: $$i"; \ + fi; \ + done + clean:: rm -fr build home

