1. Jack Frost
  2. misc

Commits

Jack Frost  committed cbda180

Installing all binary packages in one go

  • Participants
  • Parent commits 1f5bfbc
  • Branches master

Comments (0)

Files changed (1)

File zpm

View file
 										zpm.abs::get "$i" || return "$?"
 										zpm.build "$i" || return "$?"
 									} || {
-										sudo pacman -S "$i" || return "$?"
+										install_pkgs+=( "$i" )
 									}
 								;;
 							esac
 							}
 						}
 					done
+
+					[[ "$install_pkgs" ]] && { sudo pacman -S "${install_pkgs[@]}"; }
 				;;
 			esac
 		;;