commit bca41604d7ab29e698c46c55ed04fba202c8cb5a
parent 5795afee612bc8969cb548ff387376f42fa4d6f5
Author: Cem Keylan <cem@ckyln.com>
Date: Thu, 2 Apr 2020 14:13:42 +0300
kiss: also check symlinks for packages
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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.