Minor bug.

This commit is contained in:
awalsh128 2022-07-15 16:14:30 -07:00
parent 053557ecd1
commit f20c69935b

View file

@ -39,7 +39,7 @@ for package in ${normalized_packages}; do
# Comma delimited name:ver pairs in the main requested packages manifest. # Comma delimited name:ver pairs in the main requested packages manifest.
manifest_main="${manifest_main}${package_name}:${package_ver}," manifest_main="${manifest_main}${package_name}:${package_ver},"
all_packages="$(apt-get install --dry-run --yes "${package_name}" | grep "^Inst" | sort | awk '{print $2 $3}' | tr '(' ':'))" all_packages="$(apt-get install --dry-run --yes "${package_name}" | grep "^Inst" | sort | awk '{print $2 $3}' | tr '(' ':')"
dep_packages="$(echo "${all_packages}" | grep -v "${package_name}" | tr '\n' ,)" dep_packages="$(echo "${all_packages}" | grep -v "${package_name}" | tr '\n' ,)"
if "${dep_packages}" == ","; then if "${dep_packages}" == ","; then
dep_packages="none"; dep_packages="none";