diff options
-rw-r--r-- | src/install.sh | 9 |
1 files changed, 7 insertions, 2 deletions
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 |