summaryrefslogtreecommitdiffstats
path: root/debian/_base/applications/misc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-12-14 09:13:24 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-12-14 09:13:24 +0100
commitca02656da07ae5ce3627238a509978cb07e22152 (patch)
tree68ec84b9326becbbf4c066788a67aea219803bb9 /debian/_base/applications/misc
parent9814f52b6d666d5c1bb3f0ba34f8606533add1de (diff)
downloadtde-packaging-ca02656da07ae5ce3627238a509978cb07e22152.tar.gz
tde-packaging-ca02656da07ae5ce3627238a509978cb07e22152.zip
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>
Diffstat (limited to 'debian/_base/applications/misc')
-rwxr-xr-xdebian/_base/applications/misc/desktop-effects-tde/debian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/_base/applications/misc/desktop-effects-tde/debian/rules b/debian/_base/applications/misc/desktop-effects-tde/debian/rules
index 123031e6f..5853ba38f 100755
--- a/debian/_base/applications/misc/desktop-effects-tde/debian/rules
+++ b/debian/_base/applications/misc/desktop-effects-tde/debian/rules
@@ -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