1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 16:10:05 -07:00

kiss: Print to screen which files are skipped during removal.

This commit is contained in:
Dylan Araps 2020-07-29 19:00:21 +03:00
parent f99fcd5309
commit 6092dd66a2
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

6
kiss
View File

@ -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.