diff options
Diffstat (limited to 'lib/cmd')
-rw-r--r-- | lib/cmd/install.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh index 08da39d..ef955c6 100644 --- a/lib/cmd/install.sh +++ b/lib/cmd/install.sh @@ -81,15 +81,17 @@ cmd_install_main() error 2 "$(get_msg 'cmd_install_mkdir_chroot_fail')" "${chroot}" fi - cmd_install_find_pkgs "${suite}" "${arch}" "${plat}" "${chroot}" + cmd_install_find_pkgs "${mirror}" "${suite}" "${arch}" "${plat}" \ + "${chroot}" } cmd_install_find_pkgs() { - local suite="${1}" - local arch="${2}" - local plat="${3}" - local chroot="${4}" + local mirror="${1}" + local suite="${2}" + local arch="${3}" + local plat="${4}" + local chroot="${5}" local feed_idx= local feed= @@ -104,6 +106,6 @@ cmd_install_find_pkgs() "${chroot}/.prokit/${feed_idx}.filenames" \ >>"${chroot}/.prokit/packages" done <<-EOF - $(profile_feeds "${arch}" "${plat}" "${suite}") + $(profile_feeds "${mirror}" "${arch}" "${plat}" "${suite}") EOF } |