Skip apt-fast installation on cache hit (#61)

This commit is contained in:
Mickaël Schoentgen 2022-11-15 16:45:14 +01:00 committed by GitHub
parent 677fd9bce5
commit d93c95e39c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -32,6 +32,13 @@ write_manifest "main" "${manifest_main}" "${cache_dir}/manifest_main.log"
log_empty_line 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..." log "Updating APT package list..."
sudo apt-fast update > /dev/null sudo apt-fast update > /dev/null
log "done" log "done"

View file

@ -37,13 +37,6 @@ log "done"
log_empty_line 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="" versioned_packages=""
log "Verifying packages..." log "Verifying packages..."
for package in ${packages}; do for package in ${packages}; do