fix sed command line in chroot-script
authorMichael Prokop <mika@grml.org>
Fri, 3 Nov 2006 14:06:32 +0000 (15:06 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 3 Nov 2006 14:06:32 +0000 (15:06 +0100)
chroot-script

index 37415f3..66fa705 100644 (file)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # 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