diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-10-07 20:30:51 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-10-07 20:30:51 (EDT) |
commit | d7325b15a0949cef77707be5fd0bf864d6338c57 (patch) | |
tree | f10d1191c1a05056bef57b2569bd096fdd973d7d /lib/cmd/install.sh | |
parent | d8c058f9e333ae7d99030c64f9c19c47b3a35085 (diff) | |
parent | 6ca3ac8f4d34f2f0348d64178dc0b3e8ccd7aa7f (diff) |
Merge branch 'feature/sessions'
Diffstat (limited to 'lib/cmd/install.sh')
-rw-r--r-- | lib/cmd/install.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh index 6c1e6ce..529382d 100644 --- a/lib/cmd/install.sh +++ b/lib/cmd/install.sh @@ -100,9 +100,10 @@ cmd_install_main() if [ -d "${chroot}" ]; then error 2 "$(get_msg 'cmd_install_chroot_dir_exists')" "${chroot}" fi - if ! mkdir -p "${chroot}/.prokit"; then + if ! mkdir -p "${chroot}/.prokit" "${chroot}/prokit"; then error 2 "$(get_msg 'cmd_install_mkdir_chroot_fail')" "${chroot}" fi + >"${chroot}/prokit/installing" info "$(get_msg 'cmd_install_find_pkgs')" cmd_install_find_pkgs "${mirror}" "${suite}" "${arch}" "${plat}" \ @@ -115,6 +116,8 @@ cmd_install_main() else profile_configure_system_foreign "${chroot}" fi + + rm "${chroot}/prokit/installing" } cmd_install_find_pkgs() |