From b785c5f9cd76b739f404b6737c9c9f5339a54754 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 19 Nov 2015 22:28:52 +0000 Subject: reproducible: blacklist: also remove package from schedule when blacklisting --- bin/reproducible_blacklist.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/reproducible_blacklist.sh b/bin/reproducible_blacklist.sh index 96902606..6ab013b5 100755 --- a/bin/reproducible_blacklist.sh +++ b/bin/reproducible_blacklist.sh @@ -18,6 +18,7 @@ blacklist_packages() { PKGID=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT id FROM sources WHERE name='$PKG' AND suite='$SUITE' AND architecture='$ARCH';") cleanup_pkg_files sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO results (package_id, version, status, build_date) VALUES ('$PKGID', '$VERSION', 'blacklisted', '$DATE');" + sqlite3 -init $INIT ${PACKAGES_DB} "DELETE FROM schedule where package_id='$PKGID'" done } -- cgit v1.2.3-70-g09d2