[Python-modules-commits] r7758 - in packages/python-django/trunk/debian (changelog rules)

lamby at users.alioth.debian.org lamby at users.alioth.debian.org
Wed Feb 25 01:29:42 UTC 2009


    Date: Wednesday, February 25, 2009 @ 01:29:41
  Author: lamby
Revision: 7758

Remove bashisms from binary-post-install.

Modified:
  packages/python-django/trunk/debian/changelog
  packages/python-django/trunk/debian/rules

Modified: packages/python-django/trunk/debian/changelog
===================================================================
--- packages/python-django/trunk/debian/changelog	2009-02-25 01:29:40 UTC (rev 7757)
+++ packages/python-django/trunk/debian/changelog	2009-02-25 01:29:41 UTC (rev 7758)
@@ -10,6 +10,7 @@
   * Remove repeated 'Priority' line in binary package stanza.
   * Update crufty long and short descriptions.
   * Add ${misc:Depends} in binary stanza for debhelper-using package.
+  * Remove bashisms from binary-post-install.
 
  -- Chris Lamb <lamby at debian.org>  Wed, 25 Feb 2009 01:20:19 +0000
 

Modified: packages/python-django/trunk/debian/rules
===================================================================
--- packages/python-django/trunk/debian/rules	2009-02-25 01:29:40 UTC (rev 7757)
+++ packages/python-django/trunk/debian/rules	2009-02-25 01:29:41 UTC (rev 7758)
@@ -20,8 +20,8 @@
 	# Ensure executability of some scripts that are copied to projects
 	# (or used within projects)
 	chmod 755 debian/python-django/usr/share/python-support/python-django/django/conf/project_template/manage.py
-	chmod 755 debian/python-django/usr/share/python-support/python-django/django/bin/[^_]*.py
-	chmod 755 debian/python-django/usr/share/python-support/python-django/django/bin/profiling/[^_]*.py
+	find debian/python-django/usr/share/python-support/python-django/django/bin/ \
+		-name '*.py' -not -name '__init__.py' -print0 | xargs -0r chmod 755
 	# Remove execute rights from stuff that shouldn't have them
 	chmod 644 debian/python-django/etc/bash_completion.d/django_bash_completion
 	# Create convenience symlink




More information about the Python-modules-commits mailing list