diff options
-rwxr-xr-x | src/cpt-remove | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpt-remove b/src/cpt-remove index cce3739..5432c86 100755 --- a/src/cpt-remove +++ b/src/cpt-remove @@ -20,3 +20,7 @@ if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi create_cache pkg_order "$@" for pkg in $redro; do pkg_remove "$pkg" "${CPT_FORCE:-check}"; done + +# After all the removals are finished, run an end-remove hook. There may +# be some things that we may want to run, but not per package. +run_hook end-remove "" "$CPT_ROOT" root |