Skip apt-fast installation on cache hit (#61)
This commit is contained in:
parent
677fd9bce5
commit
d93c95e39c
2 changed files with 7 additions and 7 deletions
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue