wok diff faenza-icon-theme/receipt @ rev 18586

Up tazpkg-test(857); faenza-icon-theme: fix post_install() and pre_remove()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 12 20:15:39 2015 +0200 (2015-11-12)
parents b37f3d8e81b6
children 74315f5518fa
line diff
     1.1 --- a/faenza-icon-theme/receipt	Thu Apr 16 03:54:14 2015 +0300
     1.2 +++ b/faenza-icon-theme/receipt	Thu Nov 12 20:15:39 2015 +0200
     1.3 @@ -38,16 +38,18 @@
     1.4  	done
     1.5  }
     1.6  
     1.7 -qtfix="usr/share/icons/hicolor/index.theme"
     1.8 +qtfix='/usr/share/icons/hicolor/index.theme'
     1.9  
    1.10  post_install()
    1.11  {
    1.12 -	[ -s $1/$qtfix ] &&
    1.13 -	sed '/Inherits=/s|=.*$|=Faenza|' -i $1/$qtfix
    1.14 +	[ -s "$1$qtfix" ] &&
    1.15 +	sed '/Inherits=/s|=.*$|=Faenza|' -i "$1$qtfix"
    1.16 +	:
    1.17  }
    1.18  
    1.19  pre_remove()
    1.20  {
    1.21 -	[ -s $1/$qtfix ] &&
    1.22 -	sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix
    1.23 +	[ -s "$1$qtfix" ] &&
    1.24 +	sed '/Inherits=/s|=.*$|=SliTaz-Faenza|' -i "$1$qtfix"
    1.25 +	:
    1.26  }