cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit b8ea5e3ab2390c5c1c6702017172c3d545d498bc
parent d5ea9ad49d46c2e3037963e262d04beb5b5a0ca4
Author: Cem Keylan <cem@ckyln.com>
Date:   Sun,  3 May 2020 00:24:45 +0300

kiss: fix displaying post-installation messages

Diffstat:
Mkiss | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/kiss b/kiss @@ -1369,15 +1369,18 @@ args() { # After installation is complete, show a list # of messages from packages. - log "Retrieving message queue" + log "Retrieving post-installation message queue" + unset msg for pkg in $order; do - [ -f "$sys_db/$pkg/message" ] && { + if [ -f "$sys_db/$pkg/message" ]; then printf '%s\n\033[1m%s\033[m\n%s\n\n' \ "==============================" \ "$pkg" \ "==============================" >&2 cat "$sys_db/$pkg/message" >&2 - } + msg=1 + fi + [ "$msg" ] || log "No message in queue" done ;;