Skip to content

Commit

Permalink
MT#55283 fix backports generator script
Browse files Browse the repository at this point in the history
Fixes breakage after ec6b2c7

Change-Id: I8bc381e0b689a5e6f326575b574601ff640df050
  • Loading branch information
rfuchs committed Mar 13, 2024
1 parent ec6b2c7 commit bb1260f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/deb/generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ echo "- Set package-specific homepage"
sed -i -e 's,^Homepage:.*,Homepage: https://rtpengine.com/,' debian/control

echo "- Add Conflicts with NGCP packages"
# "Package: rtpengine-daemon" already has a Conflicts field. Handle it here
# separately, and exclude it from the batch rewrite below.
sed -i '/^Conflicts/ a \ ngcp-rtpengine-daemon,' debian/control
while read -r line ; do
sed -i "/${line}$/ a Conflicts: ngcp-${line#Package: }" debian/control
done < <(awk '/Package:/' debian/control)
done < <(grep '^Package:' debian/control | grep -v ' rtpengine-daemon$')

echo "- Rename files"
while read -r file; do
Expand Down

0 comments on commit bb1260f

Please sign in to comment.