mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-21 02:27:09 +00:00
Merge pull request #30 from akaszynski/patch-1
Use apt-get instead of just apt
This commit is contained in:
commit
14c1e2a748
|
@ -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