mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-05-21 04:42:20 +00:00
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:
parent
128de25ccb
commit
2330cb6dfb
BIN
apt_query-arm64
BIN
apt_query-arm64
Binary file not shown.
BIN
apt_query-x86
Executable file
BIN
apt_query-x86
Executable file
Binary file not shown.
4
lib.sh
4
lib.sh
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue