X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=db2c6e808d0157867447e66ca43649e1acf86832;hp=5f2744dc3d325a044cc3fcb463a17e050c1e8247;hb=222c73f7e9da67d1fffb93d8a9b7d5760a0a56a5;hpb=58ae80107394254068f93a6344a5eab1ecab8179 diff --git a/grml-debootstrap b/grml-debootstrap index 5f2744d..db2c6e8 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -739,13 +739,13 @@ grub_install() { for device in $SELECTED_PARTITIONS ; do GRUB=$(grubdevice $device) einfo "Installing grub on ${GRUB}:" - [ -x /usr/sbin/grub-install ] && GRUBINSTALL=/usr/sbin/grub-install --no-floppy || GRUBINSTALL=/sbin/grub-install + [ -x /usr/sbin/grub-install ] && GRUBINSTALL="/usr/sbin/grub-install --no-floppy" || GRUBINSTALL="/sbin/grub-install --no-floppy" $GRUBINSTALL --root-directory="$MNTPOINT" "(${GRUB})" eend $? done else einfo "Installing grub on ${GRUB}:" - [ -x /usr/sbin/grub-install ] && GRUBINSTALL=/usr/sbin/grub-install --no-floppy || GRUBINSTALL=/sbin/grub-install + [ -x /usr/sbin/grub-install ] && GRUBINSTALL="/usr/sbin/grub-install --no-floppy" || GRUBINSTALL="/sbin/grub-install --no-floppy" $GRUBINSTALL --root-directory="$MNTPOINT" "(${GRUB})" eend $? fi