wok diff bootchart/receipt @ rev 7769

Changed gdk-pixbuf post_install to --update-cache instead of creating a file in /etc/gtk-2.0. The file will now be in /usr/lib/gdk-pixbuf-2.0/2.10.0/ folder. This should fix problems with programs using .gif and .svg image files.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Dec 22 19:10:02 2010 +0000 (2010-12-22)
parents 1f027408aeca
children a7b54d88ae54
line diff
     1.1 --- a/bootchart/receipt	Thu Mar 04 11:38:39 2010 +0000
     1.2 +++ b/bootchart/receipt	Wed Dec 22 19:10:02 2010 +0000
     1.3 @@ -27,12 +27,13 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
     1.8 +	   KERNEL_VERSION=`uname -a | cut -d ' ' -f3 | cut -d '-' -f1`
     1.9  	  if [ -f "$1/boot/grub/menu.lst" ]; then
    1.10 -		if ! grep -q "vmlinuz-$KERNEL_VERSION-slitaz" $1/boot/grub/menu.lst; then
    1.11 +	   # add an entry only if slitaz is installed and bootchart is not configured
    1.12 +		if ! grep -q "vmlinuz-$KERNEL_VERSION-slitaz.*sbin/bootchartd.*" $1/boot/grub/menu.lst; then
    1.13      		root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1`
    1.14  			grub_dev=`cat $1/boot/grub/menu.lst | grep "root.* (" | head -n 1`
    1.15 -			# Add new kernel entry in case of upgrade for installed system.
    1.16 +			# Add new kernel entry for bootchart
    1.17      		cat >> $1/boot/grub/menu.lst << EOT
    1.18  
    1.19  title  SliTaz GNU/Linux (Kernel $KERNEL_VERSION-slitaz) with bootchart