kiss: clean up

This commit is contained in:
Dylan Araps 2019-08-20 10:35:46 +00:00
parent 0260a91f78
commit 03073b8d2c

1
kiss
View File

@ -798,6 +798,7 @@ pkg_install() {
[ -f "$cac_dir/m-$pkg_name" ] && { [ -f "$cac_dir/m-$pkg_name" ] && {
awk 'NR==FNR{lines[$0];next}!($0 in lines)' \ awk 'NR==FNR{lines[$0];next}!($0 in lines)' \
"$KISS_ROOT/$pkg_db/$pkg_name/manifest" "$cac_dir/m-$pkg_name" | "$KISS_ROOT/$pkg_db/$pkg_name/manifest" "$cac_dir/m-$pkg_name" |
while read -r file; do while read -r file; do
# Skip deleting some leftover files. # Skip deleting some leftover files.
[ -f "$KISS_ROOT/$file" ] && [ ! -L "$KISS_ROOT/$file" ] && [ -f "$KISS_ROOT/$file" ] && [ ! -L "$KISS_ROOT/$file" ] &&