Package: src:deejayd
Version: 0.9.0-2
Severity: minor
Tags: patch
User: debian-pyt...@lists.debian.org
Usertag: python2.6

Hi, the binary packages in deejayd that provide python scripts have
versioned shebangs, causing a dependency on the build time python
version.

This patch addresses the issue.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
diff -u deejayd-0.9.0/debian/rules deejayd-0.9.0/debian/rules
--- deejayd-0.9.0/debian/rules
+++ deejayd-0.9.0/debian/rules
@@ -34,6 +34,9 @@
 	# Removing jquery embedded copy, see debian/deejayd-webui.links
 	rm $(CURDIR)/debian/tmp/usr/share/deejayd/htdocs/js/lib/jquery.js
 
+	# Unversion python scripts
+	sed -i '1s,#!/usr/bin/python2\..,#!/usr/bin/python,' $(CURDIR)/debian/tmp/usr/bin/*
+
 	dh_install --sourcedir=$(CURDIR)/debian/tmp
 	dh_installdirs
 
diff -u deejayd-0.9.0/debian/changelog deejayd-0.9.0/debian/changelog

Attachment: signature.asc
Description: Digital signature

Reply via email to