summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-06-20 23:52:34 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-20 23:52:34 +0200
commitf7af628924eb01d9bd221232a38fa37838d584b0 (patch)
tree3e02bac300eb3b2fd54149d0dfa90a81a340774b
parent55fad25ba3b0b51c7f644546585b9e6e6128331c (diff)
downloadjenkins.debian.net-f7af628924eb01d9bd221232a38fa37838d584b0.tar.xz
only run apt-get update if update_jdn.sh has changed, doh
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index d1b85e2a..33aced15 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -372,7 +372,7 @@ if [ -f /etc/debian_version ] ; then
else
MASTERDEBS=""
fi
- sudo apt-get update
+ $UP2DATE || sudo apt-get update
$UP2DATE || sudo apt-get install $DEBS $MASTERDEBS
$UP2DATE || sudo apt-get install -t jessie-backports \
pbuilder lintian || echo "this should only fail on the first install"