From 9d34420bee9a3cf6e280ce35863f885dc994744d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 7 Jul 2021 10:17:19 +0300 Subject: [PATCH] kiss: check for directory first --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index e170fbc..76dc759 100755 --- a/kiss +++ b/kiss @@ -844,11 +844,11 @@ pkg_conflicts() { # Filter the tarball's manifest and select only files. Resolve all # symlinks in file paths as well. while read -r file; do - file=$KISS_ROOT/${file#/} - # Skip all directories. case $file in */) continue; esac + file=$KISS_ROOT/${file#/} + # Attempt to resolve symlinks by using 'cd'. # If this fails, fallback to the file's parent # directory.