mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 18:17:15 +00:00
Update pre_cache_action.sh
This commit is contained in:
parent
97133735cc
commit
8a5dc6c11e
|
@ -37,7 +37,7 @@ log "done."
|
||||||
versioned_packages=""
|
versioned_packages=""
|
||||||
log -n "Verifying packages..."
|
log -n "Verifying packages..."
|
||||||
for package in ${packages}; do
|
for package in ${packages}; do
|
||||||
if test ! "$(apt show "${package}")"; then
|
if test ! "$(apt-get show "${package}")"; then
|
||||||
echo "aborted."
|
echo "aborted."
|
||||||
log "Package '${package}' not found." >&2
|
log "Package '${package}' not found." >&2
|
||||||
exit 3
|
exit 3
|
||||||
|
|
Loading…
Reference in a new issue