aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cpt-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpt-install b/src/cpt-install
index b64d5a0..af8b7ff 100755
--- a/src/cpt-install
+++ b/src/cpt-install
@@ -28,6 +28,9 @@ log "Retrieving post-installation message queue"
unset msg
for pkg in $order; do
+ # Ensure that we use package names itself, and not the tarball name if given.
+ pkg=${pkg##*/} pkg=${pkg%#*}
+
[ -f "$sys_db/$pkg/message" ] && {
printf '\033[1m%s\n%s\n%s\033[m\n\n' \
"$(_multiply_char '=' 60)" \