summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cmd/install.sh16
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh
index 596c803..676724d 100644
--- a/lib/cmd/install.sh
+++ b/lib/cmd/install.sh
@@ -58,22 +58,20 @@ cmd_install_main()
: Error
fi
- cmd_install_find_pkgs "${profile}" "${suite}" "${arch}" "${plat}" \
- "${chroot}"
+ profile_set "${profile}"
+
+ cmd_install_find_pkgs "${suite}" "${arch}" "${plat}" "${chroot}"
}
cmd_install_find_pkgs()
{
- local profile="${1}"
- local suite="${2}"
- local arch="${3}"
- local plat="${4}"
- local chroot="${5}"
+ local suite="${1}"
+ local arch="${2}"
+ local plat="${3}"
+ local chroot="${4}"
local feed_idx=
local feed=
- profile_set "${profile}"
-
while read -r feed_idx feed; do
feed_download "${feed}" \
>"${chroot}/.prokit/${feed_idx}.index"