From b95e44a37b6693366db529285df47631b7234977 Mon Sep 17 00:00:00 2001 From: Andrew Walsh Date: Thu, 21 Jul 2022 13:58:49 -0700 Subject: [PATCH] Revert "Use apt-get instead of just apt" --- 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 1cc41e9..1917b2e 100755 --- a/pre_cache_action.sh +++ b/pre_cache_action.sh @@ -37,7 +37,7 @@ log "done." versioned_packages="" log -n "Verifying packages..." for package in ${packages}; do - if test ! "$(apt-get show "${package}")"; then + if test ! "$(apt show "${package}")"; then echo "aborted." log "Package '${package}' not found." >&2 exit 3