Update native.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-09 20:12:21 +02:00
parent 1f5e796689
commit ab6265206a

View File

@ -24,6 +24,7 @@ fi
# Get build deps # Get build deps
#LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error" #LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
ls
# Enter build dir # Enter build dir
cd $(find ./ -maxdepth 1 -name "$PIKA_PACKAGE_NAME*" -type d | head -1) cd $(find ./ -maxdepth 1 -name "$PIKA_PACKAGE_NAME*" -type d | head -1)
@ -57,6 +58,8 @@ fi
# Reversion changelog # Reversion changelog
if [ "$PIKA_REBUILD" = true ] if [ "$PIKA_REBUILD" = true ]
then then
ls
ls debian/
CHANGELOG_DATE=$(date '+%a, %d %b %Y %H:%M:%S %z') 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" 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 sed -i "1s/^/$CHANGELOG_APPEND\n/" debian/changelog