Skip to content

Commit

Permalink
Skip apt-fast installation on cache hit (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG authored Nov 15, 2022
1 parent 677fd9b commit d93c95e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions install_and_cache_pkgs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ write_manifest "main" "${manifest_main}" "${cache_dir}/manifest_main.log"

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

log "Updating APT package list..."
sudo apt-fast update > /dev/null
log "done"
Expand Down
7 changes: 0 additions & 7 deletions pre_cache_action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ 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
Expand Down

0 comments on commit d93c95e

Please sign in to comment.