* util/grub.d/10_kfreebsd.in: When files required for ZFS do not
exist, issue a proper error message (rely on `ls' for translated
strings).
+2010-08-08 Robert Millan <rmh@gnu.org>
+
+ * util/grub.d/10_kfreebsd.in: When files required for ZFS do not
+ exist, issue a proper error message (rely on `ls' for translated
+ strings).
+
2010-08-08 Robert Millan <rmh@gnu.org>
Fix grub-probe invocation.
case "${kfreebsd_fs}" in
zfs)
- test -e "${module_dir}/opensolaris.ko"
- test -e "${module_dir}/zfs.ko"
- test -e "${dirname}/zfs/zpool.cache"
+ for i in "${module_dir}/opensolaris.ko" "${module_dir}/zfs.ko" \
+ "${dirname}/zfs/zpool.cache" ; do
+ ls "$i" > /dev/null
+ done
printf '%s\n' "${prepare_module_dir_cache}"
cat << EOF