mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 18:17:15 +00:00
Merge pull request #31 from awalsh128/revert-30-patch-1
Revert "Use apt-get instead of just apt"
This commit is contained in:
commit
b82d68fca7
|
@ -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-get show "${package}")"; then
|
if test ! "$(apt 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