From 19bee31b5003d0cb49b7e57dd0d1fbd3860f279c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 19 Jun 2019 17:09:15 +0300 Subject: [PATCH] pkg_conflicts: Fix bug when no manifests. --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index b0ead37..db0756a 100755 --- a/kiss +++ b/kiss @@ -159,7 +159,7 @@ pkg_conflicts() { for db in "$sys_db"/*; do [ "$name" = "${db##*/}" ] && continue - grep -Fxf "$cac_dir/manifest-$$" "$db/manifest" && + grep -Fxf "$cac_dir/manifest-$$" "$db/manifest" 2>/dev/null && die "Package '$name' conflicts with '${db##*/}'." done }