wok diff slitaz-configs/receipt @ rev 2838

slim: Avoid dep on slitaz-configs/GTK and add slim-theme-default
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 30 20:44:27 2009 +0200 (2009-04-30)
parents e21d9d3b7188
children a981c1bb393d
line diff
     1.1 --- a/slitaz-configs/receipt	Sun Apr 26 12:22:51 2009 +0200
     1.2 +++ b/slitaz-configs/receipt	Thu Apr 30 20:44:27 2009 +0200
     1.3 @@ -20,3 +20,14 @@
     1.4  	chown -R root.root $fs
     1.5  	chmod 0750 $fs/root
     1.6  }
     1.7 +
     1.8 +post_install()
     1.9 +{
    1.10 +	# By default slim provide a base theme and config file have both
    1.11 +	# base and slitaz who will be choose randomly, so make sure we use
    1.12 +	# only slitaz theme.
    1.13 +	if grep -q 'current_theme       slitaz,base' $1/etc/slim.conf; then
    1.14 +		sed -i s/"current_theme .*"/"current_theme       slitaz"/ \
    1.15 +			$1/etc/slim.conf
    1.16 +	fi
    1.17 +}