autodist-upstream-updates: support for blacklist db

This commit is contained in:
Silvan Calarco 2013-05-04 15:44:08 +02:00
parent 1471140bd4
commit 0deefe9b43

View File

@ -12,6 +12,7 @@
DISTROMATIC_PREFIX=/distribution/distromatic.html? DISTROMATIC_PREFIX=/distribution/distromatic.html?
DISTROMATIC_REPOSITORY=devel DISTROMATIC_REPOSITORY=devel
DISTDB=/etc/autodist/distdb DISTDB=/etc/autodist/distdb
BLACKLISTDB=/etc/autodist/blacklist
DISTDBDIR=/etc/autodist/distdb.d DISTDBDIR=/etc/autodist/distdb.d
XORG_RELEASE=current XORG_RELEASE=current
@ -283,6 +284,7 @@ rm -f $UPDATES_DB.tmp
> $UPDATES_DB.missing > $UPDATES_DB.missing
> $BUILDLIST_FILE > $BUILDLIST_FILE
while read pkg ver upsource alias; do while read pkg ver upsource alias; do
grep "^$pkg$" $BLACKLISTDB >/dev/null && continue
unset pkgline unset pkgline
unset found_manual unset found_manual
unset found_alias unset found_alias