From c2c6bbedef31ba7b7b6a40609111807969f6199b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20H=C3=B6rberg?= Date: Wed, 21 Feb 2024 10:47:19 +0100 Subject: [PATCH] mark /etc/amqproxy.ini as conffile in deb package Otherwise it's replaced on deb package upgrade Fixes #139 --- build/deb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/deb b/build/deb index 553898e..07f172c 100755 --- a/build/deb +++ b/build/deb @@ -70,6 +70,10 @@ deb-systemd-helper purge amqproxy.service EOF chmod +x debroot/DEBIAN/prerm +cat > debroot/DEBIAN/conffiles << EOF +/etc/amqproxy.ini +EOF + debdir=builds/$ID/$VERSION_CODENAME debname=amqproxy_${pkg_version}-${pkg_revision}_${architecture}.deb mkdir -p "$debdir"