From d27b5abc30d93c8234e32b2ba09cac65a83ad9fd Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 11 Nov 2014 23:18:34 -0500 Subject: cmd/install: Exclude lost+found from dir check --- (limited to 'lib') 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 -- cgit v0.9.1