From: Michael Prokop Date: Fri, 3 Nov 2006 14:06:32 +0000 (+0100) Subject: fix sed command line in chroot-script X-Git-Tag: 0.1~9 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=3eea0068e9102d7924982c171b234064a10d0f8e;ds=sidebyside fix sed command line in chroot-script --- diff --git a/chroot-script b/chroot-script index 37415f3..66fa705 100644 --- a/chroot-script +++ b/chroot-script @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Nov 03 14:47:54 CET 2006 [mika] +# Latest change: Fre Nov 03 15:06:22 CET 2006 [mika] ################################################################################ set -e # exit on any error @@ -133,7 +133,7 @@ if [ -n "$GROOT" ] ; then # finally install grub # grub-install $BOOT update-grub -y - sed -i "s/groot=.*/groot=(${GROOT})" /boot/grub/menu.lst + sed -i "s/groot=.*/groot=(${GROOT})/g" /boot/grub/menu.lst update-grub -y # restore mtab again