mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-23 07:30:16 -07:00
kiss: check for directory first
This commit is contained in:
parent
9becb3b9a1
commit
9d34420bee
4
kiss
4
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.
|
||||
|
Loading…
Reference in New Issue
Block a user