Merge pull request #30 from akaszynski/patch-1

Use apt-get instead of just apt
This commit is contained in:
Andrew Walsh 2022-07-21 13:54:43 -07:00 committed by GitHub
commit 14c1e2a748
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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