From 8a95bd56c7eda9bff18495211f5891aa83004ba6 Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Tue, 26 Mar 2024 09:05:00 -0500 Subject: Improve information formatting Follow markdown type syntax. --- src/slack-autoupdate | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/slack-autoupdate b/src/slack-autoupdate index 8bb1637..4a7a80f 100644 --- a/src/slack-autoupdate +++ b/src/slack-autoupdate @@ -130,8 +130,13 @@ if ! OUTPUT="$( | head -n 1 )" - echo "Slackware updates" + echo "## Slackware updates" echo + while read PKG; do + echo " - $PKG" + done <"$PACKAGE_UPDATES" + echo + echo "### Recent Changelog Entries" grep --before-context 10000 "$LAST_INSTALLED_PACKAGE" /var/lib/slackpkg/ChangeLog.txt echo ) @@ -173,7 +178,7 @@ if ! OUTPUT="$( ( exec 1>>"$UPDATE_INFO" - echo "Slackbuild updates" + echo "## Slackbuild updates" echo cat "$PACKAGE_UPDATES" echo @@ -198,7 +203,7 @@ if [ "$NOTIFY" = "yes" ]; then echo "" cat "$UPDATE_ERROR" elif [ -f "$UPDATE_INFO" ]; then - echo "Updates pending installation" + echo "# Updates pending installation" echo "" cat "$UPDATE_INFO" fi -- cgit v1.2.3