From d438eb2036b98a4f75bbcd5dd311e298fac669c5 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Wed, 19 Jun 2019 14:09:14 +0000 Subject: pkg_conflicts: Fix bug when no manifests. FossilOrigin-Name: 09919933b3fdbd500ac50e3b5d50e40ac4cec4205a13fbc7447c14f9e1f173aa --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kiss') 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 } -- cgit v1.2.3