From 5a2f31829df1cb0e83a7b88d44572e6e5aac1456 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Feb 2025 13:09:59 +0100 Subject: [PATCH] Avoiding to install example files twice, thanks to Alexandre Detiste (Closes: #1087767). Signed-off-by: Daniel Baumann --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 1452e1f..01507ba 100755 --- a/debian/rules +++ b/debian/rules @@ -22,5 +22,9 @@ endif override_dh_compress: dh_compress -X example1.py -X example2.py -X example3.py -X html/ +execute_after_dh_auto_install: + # installed via python-terminaltables-doc.examples + rm -f debian/python3-terminaltables/usr/lib/python*/dist-packages/example*.py + override_dh_installchangelogs: dh_installchangelogs CHANGELOG.md