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:
parent
f99fcd5309
commit
6092dd66a2
6
kiss
6
kiss
@ -953,7 +953,11 @@ pkg_remove_files() {
|
|||||||
# installation and package removal. Combining the removals in these two
|
# installation and package removal. Combining the removals in these two
|
||||||
# functions allows us to stop duplicating code.
|
# functions allows us to stop duplicating code.
|
||||||
while read -r file; do
|
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
|
file=$KISS_ROOT/$file
|
||||||
|
|
||||||
# Remove files.
|
# Remove files.
|
||||||
|
Loading…
Reference in New Issue
Block a user