Update pre_cache_action.sh

This commit is contained in:
Alex Kaszynski 2022-07-21 14:11:04 +00:00 committed by GitHub
parent 97133735cc
commit 8a5dc6c11e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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