From 178a357e7091772c79171dee607567ade82e647a Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 17 Jan 2016 14:29:29 -0500 Subject: install_system(): Check return value of install_*_pkgs() --- diff --git a/src/install.sh b/src/install.sh index 434a5f4..b14151c 100644 --- a/src/install.sh +++ b/src/install.sh @@ -65,8 +65,13 @@ install_system() >"${root}/prokit/installing" info "$(get_msg 'install_find_pkgs')" - install_find_pkgs "${mirror}" "${suite}" "${arch}" "${plat}" "${root}" - install_get_pkgs "${root}" + if ! install_find_pkgs "${mirror}" "${suite}" "${arch}" "${plat}" \ + "${root}"; then + return 1 + fi + if install_get_pkgs "${root}"; then + return 1 + fi info "$(get_msg 'install_configuring')" if ! ${foreign}; then -- cgit v0.9.1