mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 10:45:29 +00:00
Don't install apt-fast from source (#96)
This commit is contained in:
parent
797d1a2f52
commit
854bb539e1
|
@ -37,13 +37,6 @@ 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..."
|
||||||
if [[ -z "$(find -H /var/lib/apt/lists -maxdepth 0 -mmin -5)" ]]; then
|
if [[ -z "$(find -H /var/lib/apt/lists -maxdepth 0 -mmin -5)" ]]; then
|
||||||
sudo apt-fast update > /dev/null
|
sudo apt-fast update > /dev/null
|
||||||
|
|
Loading…
Reference in a new issue