Run package install through execute()
This commit is contained in:
@@ -526,7 +526,7 @@ install_package() {
|
||||
|
||||
# Install packages if any need installation
|
||||
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[*]}"
|
||||
return 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user