Commit 17102c4d authored by Leo's avatar Leo
Browse files

aports-lint: add exception for ninja

parent 77fd9c5d
......@@ -55,6 +55,20 @@ find_repo() {
[ -z "$1" ] || [ -z "$2" ] && return 0
local pkgname="$1"
# ninja was deprecated and moved to unmaintained in favour of
# samurai, which is in main/, but most package still call ninja
# correctly because samurai provides it, but aports-lint is not
# smart enough to deal with replaces= and provides=, we just check
# directories.
#
# This leads to false positives where packages that depend on ninja
# and rightfully get samurai are considered broken because ninja is in
# unmaintained.
if [ "$pkgname" = ninja ]; then
return 0
fi
# Repo the package we are linting currently is. We want it
# for avoiding checks on repos we don't want
local targetrepo="$2"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment