projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix grub-install usage, update devices.tar.gz
[grml-debootstrap.git]
/
grml-debootstrap
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
5f2744d
..
db2c6e8
100755
(executable)
--- 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}:"
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}:"
$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
$GRUBINSTALL --root-directory="$MNTPOINT" "(${GRUB})"
eend $?
fi