aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-message
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-message')
-rwxr-xr-xcontrib/kiss-message21
1 files changed, 0 insertions, 21 deletions
diff --git a/contrib/kiss-message b/contrib/kiss-message
deleted file mode 100755
index 8b82c86..0000000
--- a/contrib/kiss-message
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-# Show messages from a package in the system database
-
-case "$1" in ''|--help|-h) printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} [pkg] [pkg]"; exit 0; esac
-
-for pkg do
- # Apply basename stripping so a user could run
- # 'kiss-message /var/db/kiss/installed/*' to see
- # all the messages on the system.
- pkg=${pkg##*/}
- msg="$KISS_ROOT/var/db/kiss/installed/$pkg/message"
-
- # Continue if no messages are available for the package.
- [ -f "$msg" ] || continue
-
- printf '%s\n\033[1m%s\033[m\n%s\n\n' \
- "==============================" \
- "$pkg" \
- "=============================="
- cat "$msg"
-done