wok diff mist-icon-theme/receipt @ rev 17231

add post_install to some icon themes (for qt4)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Oct 16 19:38:39 2014 +0000 (2014-10-16)
parents 3e624caa6f01
children 9e01bc6321ea
line diff
     1.1 --- a/mist-icon-theme/receipt	Wed Apr 24 02:32:06 2013 +0000
     1.2 +++ b/mist-icon-theme/receipt	Thu Oct 16 19:38:39 2014 +0000
     1.3 @@ -21,3 +21,15 @@
     1.4  	cp -a $src/* $fs/$iconpath
     1.5  	rm -rf $fs/$iconpath/256x256
     1.6  }
     1.7 +
     1.8 +qtfix="usr/share/icons/hicolor/index.theme"
     1.9 +
    1.10 +post_install()
    1.11 +{
    1.12 +	sed '/Inherits=/s|=.*$|=mist|' -i $1/$qtfix
    1.13 +}
    1.14 +
    1.15 +pre_remove()
    1.16 +{
    1.17 +	sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix
    1.18 +}