forked from kiss-community/kiss
kiss cleanup
This commit is contained in:
parent
71332bab86
commit
a53f1eb80a
2
kiss
2
kiss
@ -68,7 +68,7 @@ pkg_find() {
|
|||||||
|
|
||||||
# A package may also not be found due to a repository not being
|
# 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.
|
# readable by the current user. Either way, we need to die here.
|
||||||
[ -z "$2" ] && die "Package '$1' not in any repository"
|
[ "$2" ] || die "Package '$1' not in any repository"
|
||||||
|
|
||||||
printf '%s\n' "$2"
|
printf '%s\n' "$2"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user