Add support for virtual packages and break out APT logic into common library. (#155)

* Add support for virtual packages and break out APT logic into common library.
* Update binaries from commit 128de25ccb
This commit is contained in:
Andrew Walsh 2025-03-16 13:05:35 -07:00 committed by GitHub
parent 128de25ccb
commit 2330cb6dfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 2 deletions

BIN
apt_query

Binary file not shown.

Binary file not shown.

BIN
apt_query-x86 Executable file

Binary file not shown.

4
lib.sh
View file

@ -2,7 +2,7 @@
# Don't fail on error. We use the exit status as a conditional.
#
# This is the default behavior but can be overriden by the caller in the
# This is the default behavior but can be overridden by the caller in the
# SHELLOPTS env var.
set +e
@ -114,7 +114,7 @@ function get_normalized_package_list {
if [ "${architecture}" == "arm64" ]; then
${script_dir}/apt_query-arm64 normalized-list ${packages}
else
${script_dir}/apt_query normalized-list ${packages}
${script_dir}/apt_query-x86 normalized-list ${packages}
fi
}