tazlito rev 252

tazlito: simple status to tail gen-distro output in GTK box and TazPanel (sed pipe dont make progress realtime)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 13 21:38:18 2012 +0100 (2012-03-13)
parents acbb83316a37
children 24b1f91ec9b2
files tazlito
line diff
     1.1 --- a/tazlito	Sat Mar 10 18:30:12 2012 +0100
     1.2 +++ b/tazlito	Tue Mar 13 21:38:18 2012 +0100
     1.3 @@ -106,13 +106,11 @@
     1.4  
     1.5  # Status function.
     1.6  status() {
     1.7 -	echo -en "\\033[70G[ "
     1.8  	if [ $? = 0 ]; then
     1.9 -		echo -en "\\033[1;32mOK"
    1.10 +		echo "  OK"
    1.11  	else
    1.12 -		echo -en "\\033[1;31mFailed"
    1.13 +		echo "  Failed"
    1.14  	fi
    1.15 -	echo -e "\\033[0;39m ]"
    1.16  }
    1.17  
    1.18  yesorno()