summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-06-15 14:56:46 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-06-15 14:57:52 +0200
commit0c315cf49cce41935ce1761cba23f1e34b29589b (patch)
tree9ef2faebed3bde6f95f864b8ab7428edb5f0e6c2
parent15b47736e6ff60b1d835f548d5b56ddf46244f79 (diff)
downloadtde-packaging-0c315cf49cce41935ce1761cba23f1e34b29589b.tar.gz
tde-packaging-0c315cf49cce41935ce1761cba23f1e34b29589b.zip
DEB pytdeextensions: Prefer dh_python2 before dh_pysupport.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 229a6300d92910302dfac82131088f440102f1d4)
-rwxr-xr-xdebian/_base/libraries/pytdeextensions/debian/rules2
-rwxr-xr-xubuntu/_base/libraries/pytdeextensions/debian/rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/_base/libraries/pytdeextensions/debian/rules b/debian/_base/libraries/pytdeextensions/debian/rules
index 188238d79..e4c433701 100755
--- a/debian/_base/libraries/pytdeextensions/debian/rules
+++ b/debian/_base/libraries/pytdeextensions/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_pysupport),pysupport)
+DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DEB_PYTHON2_MODULE_PACKAGES=pytdeextensions-trinity libpythonize0-trinity
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/ubuntu/_base/libraries/pytdeextensions/debian/rules b/ubuntu/_base/libraries/pytdeextensions/debian/rules
index 188238d79..e4c433701 100755
--- a/ubuntu/_base/libraries/pytdeextensions/debian/rules
+++ b/ubuntu/_base/libraries/pytdeextensions/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_pysupport),pysupport)
+DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DEB_PYTHON2_MODULE_PACKAGES=pytdeextensions-trinity libpythonize0-trinity
include /usr/share/cdbs/1/rules/debhelper.mk