commit a53f1eb80a38c0cb61a79140d7167e7fab3ac280
parent 71332bab86d13897d40c4f62720e0747837f9bf1
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Tue, 10 Sep 2019 10:49:57 +0300
kiss cleanup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kiss b/kiss
@@ -68,7 +68,7 @@ pkg_find() {
# 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.
- [ -z "$2" ] && die "Package '$1' not in any repository"
+ [ "$2" ] || die "Package '$1' not in any repository"
printf '%s\n' "$2"
}