diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-03-06 20:58:12 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-03-06 20:58:12 -0800 |
commit | eb3ec23aef28924290d004b88dea5f4cc9864c19 (patch) | |
tree | bfcb6ad654c4f42185887eb3bf1d1a6681d43fec /scripts | |
parent | 7e6020c511fd92afef8f714426e52049db3fb133 (diff) | |
download | chef-eb3ec23aef28924290d004b88dea5f4cc9864c19.tar.gz |
Only run apt-get update when we need to
This shaves 5 seconds off the non-functional / berkshelf times
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bk_tests/bk_container_prep.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/bk_tests/bk_container_prep.sh b/scripts/bk_tests/bk_container_prep.sh index 7950a2e098..bb82b6b140 100755 --- a/scripts/bk_tests/bk_container_prep.sh +++ b/scripts/bk_tests/bk_container_prep.sh @@ -2,8 +2,6 @@ # make sure we have the network tools in place for various network specs if [ -f /etc/debian_version ]; then - echo "--- Update package cache" - apt-get update -y touch /etc/network/interfaces fi |