forked from kiss-community/kiss
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.
|
||||
o*)
|
||||
shift
|
||||
[ "$1" ] || die "'kiss owns' requires an argument."
|
||||
[ -f "$1" ] || die "File '$1' doesn't exist."
|
||||
[ "$1" ] || die "'kiss owns' requires an argument."
|
||||
[ -f "$KISS_ROOT/$1" ] || die "File '$1' doesn't exist."
|
||||
|
||||
set +f
|
||||
pkg_owns=$(grep -lFx "$1" "$KISS_ROOT/$pkg_db/"*/manifest)
|
||||
|
Loading…
Reference in New Issue
Block a user