aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-19 14:09:14 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-19 14:09:14 +0000
commitd438eb2036b98a4f75bbcd5dd311e298fac669c5 (patch)
tree58af124bfef1f5e5891b0ac8bc44e66500c7855d /kiss
parentac23b5f3db1ac9319998a3ab3ca540ef0565a046 (diff)
downloadcpt-d438eb2036b98a4f75bbcd5dd311e298fac669c5.tar.gz
pkg_conflicts: Fix bug when no manifests.
FossilOrigin-Name: 09919933b3fdbd500ac50e3b5d50e40ac4cec4205a13fbc7447c14f9e1f173aa
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
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
}