scripts/check-duplicates.sh: skip categories metadata.xml

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2021-02-18 19:41:54 +01:00
parent 28fee3f0e3
commit 94d33fa234

View File

@@ -9,12 +9,12 @@
GENTOO_DIR="/var/db/repos/gentoo"
GENTOO_PACKAGES=(
$(find ${GENTOO_DIR} -mindepth 2 -maxdepth 2 -printf "%P\n" \
| sort | grep -Ev "^(.git|.github|metadata|profiles|scripts)/"
| sort | grep -Ev "^(.git|.github|metadata|profiles|scripts)/|metadata.xml"
)
)
REPO_PACKAGES=(
$(find . -mindepth 2 -maxdepth 2 -printf "%P\n" \
| sort | grep -Ev "^(.git|.github|metadata|profiles|scripts)/"
| sort | grep -Ev "^(.git|.github|metadata|profiles|scripts)/|metadata.xml"
)
)