From 1886681112280e17cea4fa0a03c55f0a7e7bfa66 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 18 Nov 2014 01:58:54 +0100 Subject: reproducible: fix typo --- bin/reproducible_maintainance.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_maintainance.sh b/bin/reproducible_maintainance.sh index 083d269e..950a8d4a 100755 --- a/bin/reproducible_maintainance.sh +++ b/bin/reproducible_maintainance.sh @@ -107,10 +107,11 @@ QUERY="SELECT source_packages.name FROM source_packages (SELECT sources.name FROM sources) LIMIT 25" PACKAGES=$(sqlite3 -init $INIT ${PACKAGES_DB} "$QUERY") -if [ -z "$PACKAGES" ] ; then +if [ ! -z "$PACKAGES" ] ; then echo echo "Removing these removed packages from database:" echo $PACKAGES + echo QUERY="DELETE FROM source_packages WHERE source_packages.name NOT IN (SELECT sources.name FROM sources) -- cgit v1.2.3-54-g00ecf