mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
owns: Fix bug.
This commit is contained in:
parent
027dd6f45c
commit
69b63a1df1
4
kiss
4
kiss
@ -931,8 +931,8 @@ args() {
|
|||||||
# Check which package owns a file.
|
# Check which package owns a file.
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user