Explorar el Código

Run package install through execute()

bryan hace 1 día
padre
commit
241fc98c76
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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