MT#55283 fix backports generator script

Fixes breakage after ec6b2c756

Change-Id: I8bc381e0b689a5e6f326575b574601ff640df050
pull/1809/head
Richard Fuchs 1 year ago
parent ec6b2c7563
commit bb1260f3d3

@ -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

Loading…
Cancel
Save