mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 10:07:08 +00:00
Revert "Use apt-get instead of just apt"
This commit is contained in:
parent
14c1e2a748
commit
b95e44a37b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue