diff options
author | Dmitry Bogatov <KAction@debian.org> | 2018-11-10 04:20:08 +0000 |
---|---|---|
committer | Dmitry Bogatov <KAction@debian.org> | 2018-11-10 04:20:08 +0000 |
commit | 7f02da3c02867a0f71666c06fb136c183773800e (patch) | |
tree | 853c1ac2a17d01c6493d922c4b9e185ed40d868e /debian/rules | |
parent | 81be8f7bd65ec84d8f4235d480186c2d9667848e (diff) |
Fix shebang in /usr/bin/src
Shebang provided by upstream uses python2, while best practice in Debian
is to use python3, when there is choice.
There is choice, since upstream deliberately maintains compatibility
with both Python2 and Python3.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index c257030..8d2ca7b 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,9 @@ export prefix=/usr %: dh $@ +override_dh_auto_install: + dh_auto_install + sed -i '1s:.*:#!/usr/bin/python3:' debian/src/usr/bin/src # Test suite requires working git installation, with user.email and # user.name set. It is quite complicated to set up on buildd. |