2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-09 04:56:12 +00:00

Advertise package name change

Have the new package name change in
control to prompt upgrade to do
the right thing.
This commit is contained in:
Jarrod Johnson 2019-02-21 10:46:53 -05:00
parent 1fdcf19563
commit 8f611f0e59

View File

@ -31,6 +31,9 @@ if [ "$DPKGNAME" = "confluent-server" ]; then
sed -i 's/^\(Depends:.*\)/\1, confluent-client, python-lxml, python-eficompressor, python-pycryptodome/' debian/control
fi
fi
echo 'Provides: python-'$DPKGNAME >> debian/control
echo 'Conflicts: python-'$DPKGNAME >> debian/control
echo 'Replaces: python-'$DPKGNAME >> debian/control
dpkg-buildpackage -rfakeroot -uc -us -i
if [ $? -ne 0 ]; then