Browse Source

Run package install through execute()

bryan 1 ngày trước cách đây
mục cha
commit
241fc98c76
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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