Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

Fix /boot/grub check for $UPDATE
authorMichael Prokop <mika@grml.org>
Tue Oct 30 00:32:31 2007 +0100 (13 months ago)
changeset 2373f49cd547c26
manifest3f49cd547c26
parent 236afb9c8b840ea
child 23836241bbb7f08
Fix /boot/grub check for $UPDATE
grml-live
--- a/grml-live Tue Oct 30 00:30:57 2007 +0100
+++ b/grml-live Tue Oct 30 00:32:31 2007 +0100
@@ -396,10 +396,11 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd
bailout 8
fi
- cp ${TEMPLATE_DIRECTORY}/boot/isolinux/* "$BUILD_OUTPUT"/boot/isolinux/
- cp ${TEMPLATE_DIRECTORY}/boot/isolinux/* "$BUILD_OUTPUT"/boot/isolinux/
- if ! [ -d "${TEMPLATE_DIRECTORY}/boot/grub" ] ; then
- cp -a ${TEMPLATE_DIRECTORY}/boot/grub "$BUILD_OUTPUT"/boot/
+ cp ${TEMPLATE_DIRECTORY}/boot/isolinux/* "$BUILD_OUTPUT"/boot/isolinux/
+ cp ${TEMPLATE_DIRECTORY}/boot/isolinux/* "$BUILD_OUTPUT"/boot/isolinux/
+
+ if ! [ -d "${BUILD_OUTPUT}/boot/grub" ] ; then
+ cp -a ${TEMPLATE_DIRECTORY}/boot/grub "$BUILD_OUTPUT"/boot/
fi
if ! [ -d "${TEMPLATE_DIRECTORY}"/GRML ] ; then