diff options
author | merakor <cem@ckyln.com> | 2020-05-01 20:12:32 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-01 20:12:32 +0000 |
commit | f22ffc73b1246e6a3f441817d18f4fa9a551e349 (patch) | |
tree | cb26a32106e52eda27c270520117ad59df19ee69 /kiss | |
parent | 3781ac31a9d370daedbd4f000c6d27c3a9926820 (diff) | |
download | cpt-f22ffc73b1246e6a3f441817d18f4fa9a551e349.tar.gz |
kiss: prettier plaintext message output1.16.0
FossilOrigin-Name: 982667cccf05481317a9077871fad492aaa2b997cdfce2e1ec981ca0e9c494d2
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1340,7 +1340,19 @@ args() { pkg_order "$@" for pkg in $order; do pkg_install "$pkg"; done - for pkg in $order; do cat "$sys_db/$pkg/message" 2>/dev/null ||:; done + + # After installation is complete, show a list + # of messages from packages. + log "Retrieving message queue" + for pkg in $order; do + [ -f "$sys_db/$pkg/message" ] && { + printf '%s\n\033[1m%s\033[m\n%s\n\n' \ + "==============================" \ + "$pkg" \ + "==============================" >&2 + cat "$sys_db/$pkg/message" >&2 + } + done ;; r|remove) |