mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 01:57:16 +00:00
Update pre_cache_action.sh
This commit is contained in:
parent
97133735cc
commit
8a5dc6c11e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue