Skip to content

Commit

Permalink
mark /etc/amqproxy.ini as conffile in deb package
Browse files Browse the repository at this point in the history
Otherwise it's replaced on deb package upgrade

Fixes #139
  • Loading branch information
carlhoerberg committed Feb 21, 2024
1 parent 82aa2c7 commit c2c6bbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/deb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c2c6bbe

Please sign in to comment.