summaryrefslogtreecommitdiffstats
path: root/debian/squeeze/applications/fusion-icon
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-04 18:05:28 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-04 18:05:28 +0200
commit424e979d8a2e10edd215b055c3fcbf89369e4c4e (patch)
tree5324646f3348f26d3509159ed6467718307a5915 /debian/squeeze/applications/fusion-icon
parent392136250fbb93d5cc7084a404497de71b446983 (diff)
downloadtde-packaging-424e979d8a2e10edd215b055c3fcbf89369e4c4e.tar.gz
tde-packaging-424e979d8a2e10edd215b055c3fcbf89369e4c4e.zip
Switch remaining packages to dh_python2 on Debian and Ubuntu
Diffstat (limited to 'debian/squeeze/applications/fusion-icon')
-rw-r--r--debian/squeeze/applications/fusion-icon/debian/python-distutils-custom.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/squeeze/applications/fusion-icon/debian/python-distutils-custom.mk b/debian/squeeze/applications/fusion-icon/debian/python-distutils-custom.mk
index 00f1a3b1b..fbc70a624 100644
--- a/debian/squeeze/applications/fusion-icon/debian/python-distutils-custom.mk
+++ b/debian/squeeze/applications/fusion-icon/debian/python-distutils-custom.mk
@@ -141,9 +141,10 @@ $(patsubst %,install/%,$(DEB_PYTHON_SIMPLE_PACKAGES)) :: install/% :
ifdef _cdbs_rules_debhelper
DEB_DH_PYTHON_ARGS = $(addprefix -V ,$(DEB_PYTHON_COMPILE_VERSION)) $(DEB_DH_PYTHON_ARGS_ALL) $(DEB_DH_PYTHON_ARGS_$(cdbs_curpkg))
+DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_python)
$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
- dh_python -p$(cdbs_curpkg) $(DEB_DH_PYTHON_ARGS)
+ ${DH_PYTHON2} -p$(cdbs_curpkg) $(DEB_DH_PYTHON_ARGS)
endif