Switch to apt-cache for package verification and remove CLI warning message.

This commit is contained in:
awalsh128 2022-08-02 20:22:01 -07:00
parent d6f5911510
commit 20de6232ed

View file

@ -47,7 +47,7 @@ log_empty_line
versioned_packages="" versioned_packages=""
log "Verifying packages..." log "Verifying packages..."
for package in ${packages}; do for package in ${packages}; do
if test ! "$(apt-fast show "${package}")"; then if test ! "$(apt-cache show "${package}")"; then
echo "aborted" echo "aborted"
log "Package '${package}' not found." >&2 log "Package '${package}' not found." >&2
exit 3 exit 3