aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-02 11:13:41 +0000
committermerakor <cem@ckyln.com>2020-04-02 11:13:41 +0000
commit37fded56915dd0ec278fb06a701612f09751489c (patch)
tree307fcbf2fa4fb9ee2a9b6dcdaf8ffdad60d0901b
parent5144fb528ec968e1c519899c4eb46ad06b76983e (diff)
downloadcpt-37fded56915dd0ec278fb06a701612f09751489c.tar.gz
kiss: also check symlinks for packages
FossilOrigin-Name: 31fdf094b93b84d896abe3bbccb846b585b88c69f68359367d1b1dceb5192bc1
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 863066f..a676d82 100755
--- a/kiss
+++ b/kiss
@@ -135,7 +135,7 @@ pkg_find() {
# See [1] at top of script.
# shellcheck disable=2046,2086
set -- $(find "$@" "$sys_db/." \( ! -name . -prune \) \
- ! -name .git -a -name "$query" -type d)
+ ! -name .git -a -name "$query" \( -type d -o -type l \))
# A package may also not be found due to a repository not being
# readable by the current user. Either way, we need to die here.