wok-stable rev 12424

Fix end of line
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 10:59:45 2013 +0100 (2013-12-21)
parents dfde943f9e22
children d2c12f99da19
files linux-lxc/receipt
line diff
     1.1 --- a/linux-lxc/receipt	Sat Dec 21 10:47:34 2013 +0100
     1.2 +++ b/linux-lxc/receipt	Sat Dec 21 10:59:45 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)