aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-install
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-install')
-rwxr-xr-xsrc/cpt-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpt-install b/src/cpt-install
index 78da9a8..8bafba6 100755
--- a/src/cpt-install
+++ b/src/cpt-install
@@ -27,6 +27,10 @@ for pkg in $order; do pkg_install "$pkg"; done
log "Retrieving post-installation message queue"
unset msg
+# After all the installations are finished, run an end-install hook. There may
+# be some things that we may want to run, but not per package.
+run_hook end-install "" "$CPT_ROOT"
+
for pkg in $order; do
# Ensure that we use package names itself, and not the tarball name if given.
pkg=${pkg##*/} pkg=${pkg%#*}