diff options
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1046,6 +1046,8 @@ pkg_remove() { "$sys_db/$1/pre-remove" ||: fi + run_hook pre-remove "$1" "/var/db/kiss/installed/$1" + while read -r file; do # The file is in '/etc' skip it. This prevents the package # manager from removing user edited configuration files. @@ -1062,6 +1064,8 @@ pkg_remove() { # we no longer need to block 'Ctrl+C'. trap pkg_clean EXIT INT + run_hook post-remove "$1" "$KISS_ROOT/" + log "$1" "Removed successfully" } |