From c0c2063d362e55cb56873502bee075a648d79319 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (CosmicFusion)" Date: Sun, 4 Aug 2024 21:17:16 +0200 Subject: [PATCH] Update main.sh --- main.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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