hooks/pre-pkg/99-pkglint-subpkgs.sh: fix case where grep doesn't match

This commit is contained in:
maxice8 2019-01-29 23:04:48 -02:00 committed by maxice8
parent 5569133014
commit f6c595619c

View file

@ -40,5 +40,5 @@ hook() {
done
grep -q "^$pkgname" <<< "$matches" &&
msg_warn "$pkgname is sourcepkg but is in subpackages=.\n"
msg_warn "$pkgname is sourcepkg but is in subpackages=.\n" || :
}