From 20de6232ed1a4b0f582b92f719c56e706a13552f Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Tue, 2 Aug 2022 20:22:01 -0700 Subject: [PATCH] Switch to apt-cache for package verification and remove CLI warning message. --- pre_cache_action.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_cache_action.sh b/pre_cache_action.sh index 21b31ca..c2fe2d6 100755 --- a/pre_cache_action.sh +++ b/pre_cache_action.sh @@ -47,7 +47,7 @@ log_empty_line versioned_packages="" log "Verifying packages..." for package in ${packages}; do - if test ! "$(apt-fast show "${package}")"; then + if test ! "$(apt-cache show "${package}")"; then echo "aborted" log "Package '${package}' not found." >&2 exit 3