diff options
author | Slack Coder <slackcoder@server.ky> | 2024-03-26 09:05:00 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2024-03-26 10:52:08 -0500 |
commit | 8a95bd56c7eda9bff18495211f5891aa83004ba6 (patch) | |
tree | b5f60498817447c080a62156a5be960682ada795 /src | |
parent | dd9ecacb0824c0c9699170caf32c7a9ad88a054a (diff) | |
download | slack-autoupdate-8a95bd56c7eda9bff18495211f5891aa83004ba6.tar.xz |
Improve information formatting
Follow markdown type syntax.
Diffstat (limited to 'src')
-rw-r--r-- | src/slack-autoupdate | 11 |
1 files changed, 8 insertions, 3 deletions
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 |