diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-04 13:48:44 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-04 13:48:44 +0200 |
commit | d4134b4ffcabcc9e3c16c8656e9838dc3c136403 (patch) | |
tree | a77d59e556fee380d5294dece1dd10e457d1b5b4 | |
parent | 0c65224569c5682b679093068c0dfb29a6fe027e (diff) | |
download | jenkins.debian.net-d4134b4ffcabcc9e3c16c8656e9838dc3c136403.tar.xz |
reproducible: only create db on jenkins
-rwxr-xr-x | bin/reproducible_common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |