Update main.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-04 21:17:16 +02:00
parent 51313006a7
commit c0c2063d36

View File

@ -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 <hotrod.master@hotmail.com> $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