]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Stop rewriting shebang lines of Python 3 scripts
authorSimon McVittie <smcv@debian.org>
Wed, 28 Feb 2018 10:48:10 +0000 (10:48 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 28 Feb 2018 10:48:10 +0000 (10:48 +0000)
debian/changelog
debian/rules

index 01574ac9494039a5e898f9bc1474c2d6a45f2d26..5fa13135b75d575dade156ec5a8739b7254cccfa 100644 (file)
@@ -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 <smcv@debian.org>  Wed, 28 Feb 2018 10:45:44 +0000
 
index 3f80a273f9abca0082273fae8991a44a0a0365dc..cf3087d1db711dc46539c908742b1983f2b70967 100755 (executable)
@@ -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