summaryrefslogtreecommitdiffstats
path: root/src/installer
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-16 09:31:33 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-16 09:31:33 (EST)
commit483cf90baa5986fd80845b53bbdb7904089ddb03 (patch)
tree4c763eec04772873cda96e6b2259cfb601f5a821 /src/installer
parent1e47af06bd4baf9294a792c9c2df518a3ad7e74b (diff)
Revert "install_system(): Move dir check to installer"
This reverts commit 4ea1459ebbc51e19f7e7e9985db450e521c54681.
Diffstat (limited to 'src/installer')
-rw-r--r--src/installer/chroot.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/installer/chroot.sh b/src/installer/chroot.sh
index f4d10a1..dcdadb4 100644
--- a/src/installer/chroot.sh
+++ b/src/installer/chroot.sh
@@ -26,11 +26,6 @@ installer_chroot_main()
local foreign="${4}"
shift 4
- if [ -d "${root}" ] && ! dir_is_empty "${root}" 'lost+found'; then
- error "$(get_msg 'installer_chroot_dir_exists')" "${root}"
- return 1
- fi
-
install_system "${arch}" "${plat}" "${root}" "${foreign}" || return 1
return 0
}