pkg_conflicts: Fix bug when no manifests.

This commit is contained in:
Dylan Araps 2019-06-19 17:09:15 +03:00
parent 3f0d5b931b
commit 19bee31b50
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -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
}