diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-01-17 02:42:09 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-01-17 02:42:09 (EST) |
commit | 0bef2fa043d41a54079de25ddce84e55df8d849c (patch) | |
tree | bc2f052502cebe5156d788040ef4f1b804c8377e /src | |
parent | 99928d3f3328f85815d38c4423c4cc817dac070c (diff) |
install_*_pkgs(): Make "private"
Diffstat (limited to 'src')
-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 |