# HG changeset patch # User Xander Ziiryanoff # Date 1413488319 0 # Node ID 92f6d4a38df01306a98be5cb6db77603f14960f0 # Parent 3558da05518796621f13c0c8f11fff77f5ad0a4a add post_install to some icon themes (for qt4) diff -r 3558da055187 -r 92f6d4a38df0 faenza-icon-theme/receipt --- a/faenza-icon-theme/receipt Thu Oct 16 15:18:12 2014 +0200 +++ b/faenza-icon-theme/receipt Thu Oct 16 19:38:39 2014 +0000 @@ -32,3 +32,14 @@ done } +qtfix="usr/share/icons/hicolor/index.theme" + +post_install() +{ + sed '/Inherits=/s|=.*$|=Faenza|' -i $1/$qtfix +} + +pre_remove() +{ + sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix +} diff -r 3558da055187 -r 92f6d4a38df0 mist-icon-theme/receipt --- a/mist-icon-theme/receipt Thu Oct 16 15:18:12 2014 +0200 +++ b/mist-icon-theme/receipt Thu Oct 16 19:38:39 2014 +0000 @@ -21,3 +21,15 @@ cp -a $src/* $fs/$iconpath rm -rf $fs/$iconpath/256x256 } + +qtfix="usr/share/icons/hicolor/index.theme" + +post_install() +{ + sed '/Inherits=/s|=.*$|=mist|' -i $1/$qtfix +} + +pre_remove() +{ + sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix +} diff -r 3558da055187 -r 92f6d4a38df0 oxygen-icons/receipt --- a/oxygen-icons/receipt Thu Oct 16 15:18:12 2014 +0200 +++ b/oxygen-icons/receipt Thu Oct 16 19:38:39 2014 +0000 @@ -19,3 +19,15 @@ done cp -a $src/index.theme $fs/usr/share/icons/oxygen } + +qtfix="usr/share/icons/hicolor/index.theme" + +post_install() +{ + sed '/Inherits=/s|=.*$|=oxygen|' -i $1/$qtfix +} + +pre_remove() +{ + sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix +} diff -r 3558da055187 -r 92f6d4a38df0 slitaz-tango-icon/receipt --- a/slitaz-tango-icon/receipt Thu Oct 16 15:18:12 2014 +0200 +++ b/slitaz-tango-icon/receipt Thu Oct 16 19:38:39 2014 +0000 @@ -18,3 +18,14 @@ chown -R root.root $fs } +qtfix="usr/share/icons/hicolor/index.theme" + +post_install() +{ + sed '/Inherits=/s|=.*$|=Tango|' -i $1/$qtfix +} + +pre_remove() +{ + sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix +}