wok-6.x rev 17403

faenza-icon-theme: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 28 11:35:23 2014 +0100 (2014-11-28)
parents cea5a9fa7152
children 05a0cbbb07b4
files faenza-icon-theme/receipt
line diff
     1.1 --- a/faenza-icon-theme/receipt	Fri Nov 28 01:22:40 2014 +0200
     1.2 +++ b/faenza-icon-theme/receipt	Fri Nov 28 11:35:23 2014 +0100
     1.3 @@ -36,10 +36,12 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 +	[ -s $1/$qtfix ] &&
     1.8  	sed '/Inherits=/s|=.*$|=Faenza|' -i $1/$qtfix
     1.9  }
    1.10  
    1.11  pre_remove()
    1.12  {
    1.13 +	[ -s $1/$qtfix ] &&
    1.14  	sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix
    1.15  }