mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 18:17:15 +00:00
Switch to apt-cache for package verification and remove CLI warning message.
This commit is contained in:
parent
d6f5911510
commit
20de6232ed
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue