From 8a5dc6c11e457eb5b39d3e26cb699c1cda500aa2 Mon Sep 17 00:00:00 2001 From: Alex Kaszynski Date: Thu, 21 Jul 2022 14:11:04 +0000 Subject: [PATCH] Update pre_cache_action.sh --- 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 1917b2e..1cc41e9 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 show "${package}")"; then + if test ! "$(apt-get show "${package}")"; then echo "aborted." log "Package '${package}' not found." >&2 exit 3