# HG changeset patch # User Pascal Bellard # Date 1417170923 -3600 # Node ID 3a3945a925240c025e454d6314e5d4360882b253 # Parent cea5a9fa71520cc71752c8fafaf7008b018ef3bb faenza-icon-theme: fix post_install diff -r cea5a9fa7152 -r 3a3945a92524 faenza-icon-theme/receipt --- a/faenza-icon-theme/receipt Fri Nov 28 01:22:40 2014 +0200 +++ b/faenza-icon-theme/receipt Fri Nov 28 11:35:23 2014 +0100 @@ -36,10 +36,12 @@ post_install() { + [ -s $1/$qtfix ] && sed '/Inherits=/s|=.*$|=Faenza|' -i $1/$qtfix } pre_remove() { + [ -s $1/$qtfix ] && sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix }