diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-01-16 05:54:32 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-01-16 05:54:32 (EST) |
commit | f28a551cae7b6340bc625c40f4a1022175c4ac06 (patch) | |
tree | a04b346ff7d5c9faa742c8cd94ebb3c4f15dfbc3 | |
parent | 1aae68486f7418cfda3cea8421a96d318be506fb (diff) |
install_find_pkgs(): Drop unnecessary parameters
-rw-r--r-- | src/install.sh | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/install.sh b/src/install.sh index 975845b..f96af60 100644 --- a/src/install.sh +++ b/src/install.sh @@ -95,12 +95,10 @@ _install_sha256sum_cb() install_find_pkgs() { - local mirror="${1}" - local suite="${2}" - local arch="${3}" - local plat="${4}" - local root="${5}" - shift 5 + local arch="${1}" + local plat="${2}" + local root="${3}" + shift 3 local opkg_conf_fd= local pkgs_fd= local type= @@ -360,8 +358,7 @@ install_system() >"${root}/prokit/installing" info "$(get_msg 'install_find_pkgs')" - if ! install_find_pkgs "${mirror}" "${suite}" "${arch}" "${plat}" \ - "${root}"; then + if ! install_find_pkgs "${arch}" "${plat}" "${root}"; then return 1 fi if ! install_get_pkgs "${root}"; then |