diff --git a/main.sh b/main.sh index 6cd3103c0..7ce3346ae 100755 --- a/main.sh +++ b/main.sh @@ -49,6 +49,14 @@ then CHANGELOG_DATE=$(date '+%a, %d %b %Y %H:%M:%S %z') CHANGELOG_APPEND="$PIKA_PACKAGE_NAME ($VERSION) pika; urgency=medium\n\n * PikaOS 4 Rebuild.\n\n -- Ward Nakchbandi $CHANGELOG_DATE\n" sed -i "1s/^/$CHANGELOG_APPEND\n/" debian/changelog + if [ -f debian/control ] + then + sed -i "s#source:Version#binary:Version#g" debian/control + fi + if [ -f debian/control.in ] + then + sed -i "s#source:Version#binary:Version#g" debian/control.in + fi fi # Get build deps