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