From 768417e4ec4577eba696a089c7d63892db492d16 Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Thu, 30 Jun 2022 08:41:19 -0700 Subject: [PATCH] Fix dependency listing. --- 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 e22cabd..206acb0 100755 --- a/install_and_cache_pkgs.sh +++ b/install_and_cache_pkgs.sh @@ -40,7 +40,7 @@ for package in ${normalized_packages}; do manifest_main="${manifest_main}${package_name}:${package_ver}," all_packages="$(apt-get install --dry-run --yes "${package_name}" | grep "^Inst" | awk '{print $2}')" - dep_packages="$(echo ${dep_packages} | grep -v "${package_name}" | tr '\n' ,)" + dep_packages="$(echo ${all_packages} | grep -v "${package_name}" | tr '\n' ,)" log "- ${package_name}" log " * Version: ${package_ver}"