From 903a8a32ff59da642d5a1439c62b26f0ae6cb15d Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Thu, 30 Jun 2022 02:10:23 -0700 Subject: [PATCH] Fix read package name and version call. --- install_and_cache_pkgs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_and_cache_pkgs.sh b/install_and_cache_pkgs.sh index 21ba73e..6348403 100755 --- a/install_and_cache_pkgs.sh +++ b/install_and_cache_pkgs.sh @@ -45,7 +45,7 @@ for package in ${normalized_packages}; do cache_filepath="${cache_dir}/${cache_package}.tar.gz" if test ! -f "${cache_filepath}"; then - get_package_name_ver "${cache_package}" # -> package_name, package_ver + read package_name package_ver < <(get_package_name_ver "${cache_package}") echo -n " Caching ${package_name} to ${cache_filepath}..." # Pipe all package files (no folders) to Tar. dpkg -L "${package_name}" |