Update APT cache before normalizing package list
All checks were successful
Publish Master Push Event / Publish master push (push) Successful in 1s

This commit is contained in:
Zachary Hall 2024-10-20 17:18:28 -07:00
parent 2f457b3b06
commit bc57ba7fe5

2
lib.sh
View file

@ -102,6 +102,8 @@ function get_package_name_ver {
# Sorted list of space delimited package name=version pairs. # Sorted list of space delimited package name=version pairs.
############################################################################### ###############################################################################
function get_normalized_package_list { function get_normalized_package_list {
# Update Apt cache
apt-get update
# Remove commas, and block scalar folded backslashes, # Remove commas, and block scalar folded backslashes,
# extraneous spaces at the middle, beginning and end # extraneous spaces at the middle, beginning and end
# then sort. # then sort.