wok rev 15694

Fix end of line
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 10:59:56 2013 +0100 (2013-12-21)
parents 6c04939f80d7
children 3d56ee35aa95
files linux-lxc/receipt
line diff
     1.1 --- a/linux-lxc/receipt	Sat Dec 21 08:40:56 2013 +0100
     1.2 +++ b/linux-lxc/receipt	Sat Dec 21 10:59:56 2013 +0100
     1.3 @@ -31,13 +31,10 @@
     1.4      chroot "$1/" depmod -a $VERSION-lxc-slitaz
     1.5      # GRUB stuff.
     1.6      if [ -f "$1/boot/grub/menu.lst" ]; then
     1.7 -        root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ 
     1.8 -]*\).*/\1/' | head -n 1`
     1.9 -                grub_dev=`cat $1/boot/grub/menu.lst | grep "root (" | head -n 
    1.10 -1`
    1.11 +        root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1`
    1.12 +                grub_dev=`cat $1/boot/grub/menu.lst | grep "root (" | head -n 1`
    1.13                  # Add new kernel entry in case of upgrade for installed system.
    1.14 -                if ! grep -q $PACKAGE-$VERSION-lxc-slitaz $1/boot/grub/menu.lst; 
    1.15 -then
    1.16 +                if ! grep -q $PACKAGE-$VERSION-lxc-slitaz $1/boot/grub/menu.lst; then
    1.17                  cat >> $1/boot/grub/menu.lst << EOT
    1.18  
    1.19  title SliTaz GNU/Linux (Kernel $VERSION-lxc-slitaz)