Run package install through execute()

This commit is contained in:
2025-04-24 23:14:10 -04:00
parent 3f5b61e7dc
commit 241fc98c76

View File

@@ -526,7 +526,7 @@ install_package() {
# Install packages if any need installation # Install packages if any need installation
if [[ ${#pkg_array[@]} -gt 0 ]]; then if [[ ${#pkg_array[@]} -gt 0 ]]; then
if ! "${PKG_INSTALL[@]}" "${install_flags[@]}" "${pkg_array[@]}"; then if ! execute "${PKG_INSTALL[@]}" "${install_flags[@]}" "${pkg_array[@]}"; then
((silent)) || err "Failed to install ${pkg_array[*]}" ((silent)) || err "Failed to install ${pkg_array[*]}"
return 1 return 1
fi fi