sed expression for grub1 fixed
This commit is contained in:
parent
b4b036109b
commit
b88fe0cb24
|
@ -100,7 +100,7 @@ fi
|
||||||
|
|
||||||
[ -f /boot/grub/grub.conf ] && \
|
[ -f /boot/grub/grub.conf ] && \
|
||||||
sed -i "s~\/boot\/vmlinuz-[0-9][^ ]*~\/boot\/vmlinuz-$REVISION~g;
|
sed -i "s~\/boot\/vmlinuz-[0-9][^ ]*~\/boot\/vmlinuz-$REVISION~g;
|
||||||
s~\/boot\/kernel-genkernel-`uname -m`-[0-9][^]*~\/boot\/kernel-genkernel-`uname -m`-$REVISION~g;
|
s~\/boot\/kernel-genkernel-`uname -m`-[0-9][^ ]*~\/boot\/kernel-genkernel-`uname -m`-$REVISION~g;
|
||||||
s~\/boot\/initramfs-[0-9][^ ]*~\/boot\/initramfs-$REVISION.img~g" \
|
s~\/boot\/initramfs-[0-9][^ ]*~\/boot\/initramfs-$REVISION.img~g" \
|
||||||
/boot/grub/grub.conf
|
/boot/grub/grub.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue