|
|
|
@ -37,9 +37,12 @@ echo "- Set package-specific homepage"
|
|
|
|
sed -i -e 's,^Homepage:.*,Homepage: https://rtpengine.com/,' debian/control
|
|
|
|
sed -i -e 's,^Homepage:.*,Homepage: https://rtpengine.com/,' debian/control
|
|
|
|
|
|
|
|
|
|
|
|
echo "- Add Conflicts with NGCP packages"
|
|
|
|
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
|
|
|
|
while read -r line ; do
|
|
|
|
sed -i "/${line}$/ a Conflicts: ngcp-${line#Package: }" debian/control
|
|
|
|
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"
|
|
|
|
echo "- Rename files"
|
|
|
|
while read -r file; do
|
|
|
|
while read -r file; do
|
|
|
|
|