From 72a385a11f2ca64e34cc04073e80c6949c05e4f8 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 28 Feb 2018 10:48:10 +0000 Subject: [PATCH] Stop rewriting shebang lines of Python 3 scripts --- debian/changelog | 1 + debian/rules | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 01574ac94..5fa13135b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,7 @@ ikiwiki (3.20180228-1) UNRELEASED; urgency=medium - build: Ensure that pm_to_blib finishes before rewriting shebang lines - t: Make the img test pass with ImageMagick >= 6.9.8-3 (Closes: #891647) + * Stop rewriting shebang lines of Python 3 scripts -- Simon McVittie Wed, 28 Feb 2018 10:45:44 +0000 diff --git a/debian/rules b/debian/rules index 3f80a273f..cf3087d1d 100755 --- a/debian/rules +++ b/debian/rules @@ -6,11 +6,6 @@ override_dh_auto_configure: # keeps it out of /usr/local dh_auto_configure -- PREFIX=/usr -override_dh_auto_install: - dh_auto_install - sed -i -e '1s,^#!.*[ /]python$$,#!/usr/bin/python3,' \ - debian/ikiwiki/usr/lib/ikiwiki/plugins/* - override_dh_compress: # avoid compressing files in the doc wiki dh_compress -Xhtml -- 2.39.2