aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-02 21:24:44 +0000
committermerakor <cem@ckyln.com>2020-05-02 21:24:44 +0000
commitb5ea7cdd9fd30748f7e6dd593aeddc694324698b (patch)
tree4938bee795357b4f5bbc67b6e3488aedb03543ad
parentc55899c577ca17a3cdac989934aab7ea3a5adb9c (diff)
downloadcpt-1.16.2.tar.gz
kiss: fix displaying post-installation messages1.16.2
FossilOrigin-Name: 6647f22002b5898b21f8eb945efa80321d9c9b3414b7956d85202edfb7d1cae2
-rwxr-xr-xkiss9
1 files changed, 6 insertions, 3 deletions
diff --git a/kiss b/kiss
index d7d8f54..8b80207 100755
--- 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
;;