tazlito rev 127

Small cosmetic change
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 22 17:12:54 2010 +0100 (2010-01-22)
parents 78f6127ca7be
children 24510d119fd7
files tazlito
line diff
     1.1 --- a/tazlito	Fri Jan 22 17:02:03 2010 +0100
     1.2 +++ b/tazlito	Fri Jan 22 17:12:54 2010 +0100
     1.3 @@ -1747,22 +1747,25 @@
     1.4  		echo ""
     1.5  		mkdir -p /boot/frugal
     1.6  		if [ -f "$ISO_IMAGE" ]; then
     1.7 -			echo "Using ISO image: $ISO_IMAGE"
     1.8 +			echo -n "Using ISO image: $ISO_IMAGE"
     1.9  			mkdir -p /tmp/iso && mount -o loop $ISO_IMAGE /tmp/iso
    1.10 -			echo "Installing the Kernel and rootfs..."
    1.11 +			status
    1.12 +			echo -n "Installing the Kernel and rootfs..."
    1.13  			cp -a /tmp/iso/boot/bzImage /boot/frugal
    1.14  			cp -a /tmp/iso/boot/rootfs.gz /boot/frugal
    1.15  			umount /tmp/iso
    1.16 +			status
    1.17  		else
    1.18 -			echo "Using distro: $DISTRO"
    1.19 -			cd $DISTRO
    1.20 -			echo "Installing the Kernel and rootfs..."
    1.21 +			echo -n "Using distro: $DISTRO"
    1.22 +			cd $DISTRO && status
    1.23 +			echo -n "Installing the Kernel and rootfs..."
    1.24  			cp -a $DISTRO/rootcd/boot/bzImage /boot/frugal
    1.25  			cp -a $DISTRO/rootcd/boot/rootfs.gz /boot/frugal
    1.26 +			status
    1.27  		fi
    1.28  		# Grub entry
    1.29  		if ! grep -q "^kernel /boot/frugal/bzImage" /boot/grub/menu.lst; then
    1.30 -			echo "Configuring GRUB menu list..."
    1.31 +			echo -n "Configuring GRUB menu list..."
    1.32  			cat >> /boot/grub/menu.lst << EOT
    1.33  title SliTaz GNU/Linux (frugal)
    1.34  root (hd0,0)
    1.35 @@ -1770,8 +1773,9 @@
    1.36  initrd /boot/frugal/rootfs.gz
    1.37  EOT
    1.38  		else
    1.39 -			echo "GRUB menu list is up-to-date."
    1.40 +			echo -n "GRUB menu list is up-to-date..."
    1.41  		fi
    1.42 +		status
    1.43  		echo "" ;;
    1.44  	
    1.45  	emu-iso)