diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-08-31 21:47:53 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-08-31 21:47:53 +0100 |
commit | e9f9b3c013042afef356119f95a56c12828feca2 (patch) | |
tree | 8f4afb915a5ea84fa9ee18c1fd104b03688a0cc8 /jenkinstool | |
parent | ccfda74a7285dd8ed7c25c99b0a0a3831ed37caf (diff) | |
download | jenkinstool-e9f9b3c013042afef356119f95a56c12828feca2.tar.gz |
Ignore apt-get update failures
Diffstat (limited to 'jenkinstool')
-rwxr-xr-x | jenkinstool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkinstool b/jenkinstool index 8941b3a..2635b61 100755 --- a/jenkinstool +++ b/jenkinstool @@ -378,7 +378,7 @@ cat << EOF | sudo tee /etc/apt/sources.list.d/jenkinstool.list deb %(global.artifacts-url)s/debian %(host.debian-dist)s main EOF -sudo apt-get update +sudo apt-get update || true sudo apt-get --no-remove --allow-unauthenticated -y upgrade cat << EOF > /var/lib/jenkins/.dput.cf |