From 6092dd66a2c538e92b6d88cca3bdc2fa0af4ecc1 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 29 Jul 2020 19:00:21 +0300 Subject: [PATCH] kiss: Print to screen which files are skipped during removal. --- kiss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index a77cc30..7af9b0f 100755 --- a/kiss +++ b/kiss @@ -953,7 +953,11 @@ pkg_remove_files() { # installation and package removal. Combining the removals in these two # functions allows us to stop duplicating code. while read -r file; do - case $file in /etc/*) continue; esac + case $file in /etc/*) + printf 'Skipping removal of %s\n' "$file" + continue; + esac + file=$KISS_ROOT/$file # Remove files.