From d4134b4ffcabcc9e3c16c8656e9838dc3c136403 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 4 Aug 2015 13:48:44 +0200 Subject: reproducible: only create db on jenkins --- bin/reproducible_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_common.sh') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index e7e4a373..569cb56d 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -23,7 +23,7 @@ if [ -f $PACKAGES_DB ] && [ -f $INIT ] ; then exit 1 fi fi -elif [ ! -f ${PACKAGES_DB} ] ; then +elif [ ! -f ${PACKAGES_DB} ] && [ "$HOSTNAME" = "jenkins" ] ; then echo "Warning: $PACKAGES_DB doesn't exist, creating it now." /srv/jenkins/bin/reproducible_db_maintenance.py # 60 seconds timeout when trying to get a lock -- cgit v1.2.3-70-g09d2