1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 16:40:07 -07:00

owns: Fix bug.

This commit is contained in:
Dylan Araps 2019-07-22 00:38:34 +03:00
parent 027dd6f45c
commit 69b63a1df1

2
kiss
View File

@ -932,7 +932,7 @@ args() {
o*) o*)
shift shift
[ "$1" ] || die "'kiss owns' requires an argument." [ "$1" ] || die "'kiss owns' requires an argument."
[ -f "$1" ] || die "File '$1' doesn't exist." [ -f "$KISS_ROOT/$1" ] || die "File '$1' doesn't exist."
set +f set +f
pkg_owns=$(grep -lFx "$1" "$KISS_ROOT/$pkg_db/"*/manifest) pkg_owns=$(grep -lFx "$1" "$KISS_ROOT/$pkg_db/"*/manifest)