diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-11-11 23:18:34 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-11-11 23:18:34 (EST) |
commit | d27b5abc30d93c8234e32b2ba09cac65a83ad9fd (patch) | |
tree | e1bd5d22c794b3f584fc022a07a3baa2da674b90 | |
parent | bfd98708d4d91d9b3f92f1a6179f9bb6d5141739 (diff) |
cmd/install: Exclude lost+found from dir check
-rw-r--r-- | lib/cmd/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh index fbb5d81..d115b9c 100644 --- a/lib/cmd/install.sh +++ b/lib/cmd/install.sh @@ -98,7 +98,7 @@ cmd_install_main() fi info "$(get_msg 'cmd_install_setting_up_chroot')" - if [ -d "${chroot}" ] && ! dir_is_empty "${chroot}"; then + if [ -d "${chroot}" ] && ! dir_is_empty "${chroot}" 'lost+found'; then error 2 "$(get_msg 'cmd_install_chroot_dir_exists')" "${chroot}" fi if ! mkdir -p "${chroot}/.prokit" "${chroot}/prokit"; then |