From 0bef2fa043d41a54079de25ddce84e55df8d849c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Jan 2021 02:42:09 -0500 Subject: install_*_pkgs(): Make "private" --- 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 -- cgit v0.9.1