From 5404497e707a72f08900d9047fa1307c076a1f12 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 26 Mar 2019 13:46:39 -0400 Subject: [PATCH] Change wheezy to depend on old package name --- confluent_server/builddeb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/confluent_server/builddeb b/confluent_server/builddeb index 6ab5a54d..d2208d8e 100755 --- a/confluent_server/builddeb +++ b/confluent_server/builddeb @@ -33,7 +33,11 @@ if [ "$DPKGNAME" = "confluent-server" ]; then else sed -i 's/^\(Depends:.*\)/\1, confluent-client, python-lxml, python-eficompressor, python-pycryptodome/' debian/control fi - echo 'confluent_client confluent-client' >> debian/pydist-overrides + if grep wheezy /etc/os-release; then + echo 'confluent_client python-confluent-client' >> debian/pydist-overrides + else + echo 'confluent_client confluent-client' >> debian/pydist-overrides + fi fi head -n -1 debian/control > debian/control1 mv debian/control1 debian/control