DEB desktop-effects-tde: Make sure that python binary exists

because package still depend on python2.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/174/head
Slávek Banko 1 year ago
parent 9814f52b6d
commit ca02656da0
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -18,5 +18,11 @@ DEB_CMAKE_EXTRA_FLAGS := \
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
post-patches::
# make sure that python binary exists
# since the existing code is still dependent on python2
# and cdbs uses python as the default binary name
test -x /usr/bin/python || ln -s python2 /usr/bin/python
binary-install/desktop-effects-tde-trinity::
${DH_PYTHON2} -pdesktop-effects-tde-trinity

@ -18,5 +18,11 @@ DEB_CMAKE_EXTRA_FLAGS := \
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
post-patches::
# make sure that python binary exists
# since the existing code is still dependent on python2
# and cdbs uses python as the default binary name
test -x /usr/bin/python || ln -s python2 /usr/bin/python
binary-install/desktop-effects-tde-trinity::
${DH_PYTHON2} -pdesktop-effects-tde-trinity

Loading…
Cancel
Save