From ca02656da07ae5ce3627238a509978cb07e22152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 14 Dec 2022 09:13:24 +0100 Subject: DEB desktop-effects-tde: Make sure that python binary exists because package still depend on python2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- debian/_base/applications/misc/desktop-effects-tde/debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debian/_base') 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 -- cgit v1.2.1