# TARGET='/mnt/grml' # install into directory /mnt/grml
# Install the grub bootloader?
+# Default: 'yes'
+# Usage example:
+# GRUB_INSTALL='no' # Do not install the grub bootloader.
+
# Specify the device where grub will be installed.
# Note: grub can not be installed into a partition.
# Default: no default. (Grub will not be installed.)
if [ -z "${VIRTUAL}" ] ; then
return 0
fi
- if [ ! "$GRUB_INSTALL" = "yes" ]; then
- return 0
+ if [ "${GRUB_INSTALL}" != "yes" ] ; then
+ einfo "Not installing GRUB as requested via \$GRUB_INSTALL=$GRUB_INSTALL"
+ return 0
fi
if ! mount "${TARGET}" "${MNTPOINT}" ; then