diff options
-rw-r--r-- | src/install.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/install.sh b/src/install.sh index 54d474f..ef63f6e 100644 --- a/src/install.sh +++ b/src/install.sh @@ -93,7 +93,7 @@ _install_sha256sum_cb() return 0 } -install_find_pkgs() +_install_find_pkgs() { local arch="${1}" local plat="${2}" @@ -188,7 +188,7 @@ install_find_pkgs() return 0 } -install_get_pkgs() +_install_get_pkgs() { local root="${1}" shift 1 @@ -336,10 +336,10 @@ install_system() >"${root}/prokit/installing" info "$(get_msg 'install_find_pkgs')" - if ! install_find_pkgs "${arch}" "${plat}" "${root}"; then + if ! _install_find_pkgs "${arch}" "${plat}" "${root}"; then return 1 fi - if ! install_get_pkgs "${root}"; then + if ! _install_get_pkgs "${root}"; then return 1 fi |