Ver código fonte

Run package install through execute()

bryan 1 dia atrás
pai
commit
241fc98c76
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -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