diff --git a/install_and_cache_pkgs.sh b/install_and_cache_pkgs.sh index c3ca77b..7908325 100755 --- a/install_and_cache_pkgs.sh +++ b/install_and_cache_pkgs.sh @@ -7,9 +7,6 @@ set -e script_dir="$(dirname -- "$(realpath -- "${0}")")" source "${script_dir}/lib.sh" -# Install apt-fast for optimized installs. -/bin/bash -c "$(curl -sL https://git.io/vokNn)" - # Directory that holds the cached packages. cache_dir="${1}" diff --git a/pre_cache_action.sh b/pre_cache_action.sh index 21f6c03..da9713e 100755 --- a/pre_cache_action.sh +++ b/pre_cache_action.sh @@ -37,6 +37,13 @@ log "done" log_empty_line +log "Installing apt-fast for optimized installs..." +# Install apt-fast for optimized installs. +/bin/bash -c "$(curl -sL https://git.io/vokNn)" +log "done" + +log_empty_line + versioned_packages="" log "Verifying packages..." for package in ${packages}; do