diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-06-20 23:52:34 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-06-20 23:52:34 +0200 |
commit | f7af628924eb01d9bd221232a38fa37838d584b0 (patch) | |
tree | 3e02bac300eb3b2fd54149d0dfa90a81a340774b | |
parent | 55fad25ba3b0b51c7f644546585b9e6e6128331c (diff) | |
download | jenkins.debian.net-f7af628924eb01d9bd221232a38fa37838d584b0.tar.xz |
only run apt-get update if update_jdn.sh has changed, doh
-rwxr-xr-x | update_jdn.sh | 2 |
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" |