wok-stable diff pybootchartgui/receipt @ rev 10644

enna: guess libplayer is needed!
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 27 02:04:52 2011 +0200 (2011-05-27)
parents 255e56fcd6cf
children
line diff
     1.1 --- a/pybootchartgui/receipt	Thu May 28 12:49:40 2009 +0000
     1.2 +++ b/pybootchartgui/receipt	Fri May 27 02:04:52 2011 +0200
     1.3 @@ -30,6 +30,9 @@
     1.4  	PY_VERSION=`cat /var/lib/tazpkg/installed/python/receipt | grep "VERSION="|cut -d \" -f 2 | cut -d . -f 1,2`
     1.5  	if [ -f  $root/usr/bin/pybootchartgui ] ; then rm $root/usr/bin/pybootchartgui ; fi
     1.6  	ln -s $root/usr/lib/python$PY_VERSION/pybootchartgui.py $root/usr/bin/pybootchartgui
     1.7 +	if [ -f $root/etc/bootchartd.conf ] ; then
     1.8 +		sed -i s/'AUTO_RENDER="no"'/'AUTO_RENDER="yes"'/ $root/etc/bootchartd.conf
     1.9 +	fi
    1.10  }
    1.11  
    1.12  post_remove()
    1.13 @@ -37,4 +40,7 @@
    1.14  	local root
    1.15  	root=$1
    1.16      rm $root/usr/bin/pybootchartgui
    1.17 +    if [ -f $root/etc/bootchartd.conf ] ; then 
    1.18 +    	sed -i s/'AUTO_RENDER="yes"'/'AUTO_RENDER="no"'/ $root/etc/bootchartd.conf
    1.19 +    fi
    1.20  }