summaryrefslogtreecommitdiffstats
path: root/src/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/install.sh')
-rw-r--r--src/install.sh32
1 files changed, 5 insertions, 27 deletions
diff --git a/src/install.sh b/src/install.sh
index f96af60..54d474f 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -318,33 +318,11 @@ install_get_pkgs()
install_system()
{
- local mirror="${1}"
- local suite="${2}"
- local arch="${3}"
- local plat="${4}"
- local root="${5}"
- local foreign="${6}"
- shift 6
-
- if [ "x${arch}" = 'x' ]; then
- arch="$(profile_detect_arch)"
- fi
- if [ "x${plat}" = 'x' ]; then
- plat="$(profile_default_plat)"
- fi
- if [ "x${mirror}" = 'x' ]; then
- mirror="$(profile_select_mirror)"
- fi
- profile_prepare_install "${mirror}" "${suite}"
-
- if ! profile_validate_archplat "${arch}" "${plat}"; then
- error "$(get_msg 'install_bad_archplat')" "${arch}" "${plat}"
- return 1
- fi
-
- info "$(get_msg 'install_selected_arch')" "${arch}"
- info "$(get_msg 'install_selected_plat')" "${plat}"
- info "$(get_msg 'install_selected_mirror')" "${mirror}"
+ local arch="${1}"
+ local plat="${2}"
+ local root="${3}"
+ local foreign="${4}"
+ shift 4
info "$(get_msg 'install_setting_up_chroot')"
if [ -d "${root}" ] && ! dir_is_empty "${root}" 'lost+found'; then