wok 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 | 3558da055187 |
children | 788d1f0af27f |
files | faenza-icon-theme/receipt mist-icon-theme/receipt oxygen-icons/receipt slitaz-tango-icon/receipt |
line diff
1.1 --- a/faenza-icon-theme/receipt Thu Oct 16 15:18:12 2014 +0200 1.2 +++ b/faenza-icon-theme/receipt Thu Oct 16 19:38:39 2014 +0000 1.3 @@ -32,3 +32,14 @@ 1.4 done 1.5 } 1.6 1.7 +qtfix="usr/share/icons/hicolor/index.theme" 1.8 + 1.9 +post_install() 1.10 +{ 1.11 + sed '/Inherits=/s|=.*$|=Faenza|' -i $1/$qtfix 1.12 +} 1.13 + 1.14 +pre_remove() 1.15 +{ 1.16 + sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix 1.17 +}
2.1 --- a/mist-icon-theme/receipt Thu Oct 16 15:18:12 2014 +0200 2.2 +++ b/mist-icon-theme/receipt Thu Oct 16 19:38:39 2014 +0000 2.3 @@ -21,3 +21,15 @@ 2.4 cp -a $src/* $fs/$iconpath 2.5 rm -rf $fs/$iconpath/256x256 2.6 } 2.7 + 2.8 +qtfix="usr/share/icons/hicolor/index.theme" 2.9 + 2.10 +post_install() 2.11 +{ 2.12 + sed '/Inherits=/s|=.*$|=mist|' -i $1/$qtfix 2.13 +} 2.14 + 2.15 +pre_remove() 2.16 +{ 2.17 + sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix 2.18 +}
3.1 --- a/oxygen-icons/receipt Thu Oct 16 15:18:12 2014 +0200 3.2 +++ b/oxygen-icons/receipt Thu Oct 16 19:38:39 2014 +0000 3.3 @@ -19,3 +19,15 @@ 3.4 done 3.5 cp -a $src/index.theme $fs/usr/share/icons/oxygen 3.6 } 3.7 + 3.8 +qtfix="usr/share/icons/hicolor/index.theme" 3.9 + 3.10 +post_install() 3.11 +{ 3.12 + sed '/Inherits=/s|=.*$|=oxygen|' -i $1/$qtfix 3.13 +} 3.14 + 3.15 +pre_remove() 3.16 +{ 3.17 + sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix 3.18 +}
4.1 --- a/slitaz-tango-icon/receipt Thu Oct 16 15:18:12 2014 +0200 4.2 +++ b/slitaz-tango-icon/receipt Thu Oct 16 19:38:39 2014 +0000 4.3 @@ -18,3 +18,14 @@ 4.4 chown -R root.root $fs 4.5 } 4.6 4.7 +qtfix="usr/share/icons/hicolor/index.theme" 4.8 + 4.9 +post_install() 4.10 +{ 4.11 + sed '/Inherits=/s|=.*$|=Tango|' -i $1/$qtfix 4.12 +} 4.13 + 4.14 +pre_remove() 4.15 +{ 4.16 + sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix 4.17 +}