projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e3ca291
)
fix sed command line in chroot-script
author
Michael Prokop
<mika@grml.org>
Fri, 3 Nov 2006 14:06:32 +0000
(15:06 +0100)
committer
Michael Prokop
<mika@grml.org>
Fri, 3 Nov 2006 14:06:32 +0000
(15:06 +0100)
chroot-script
patch
|
blob
|
history
diff --git
a/chroot-script
b/chroot-script
index
37415f3
..
66fa705
100644
(file)
--- a/
chroot-script
+++ b/
chroot-script
@@
-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.
# 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 1
4:47:54
CET 2006 [mika]
+# Latest change: Fre Nov 03 1
5:06:22
CET 2006 [mika]
################################################################################
set -e # exit on any error
################################################################################
set -e # exit on any error
@@
-133,7
+133,7
@@
if [ -n "$GROOT" ] ; then
# finally install grub
# grub-install $BOOT
update-grub -y
# 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
update-grub -y
# restore mtab again