wok-next 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 bcccafbf2c8a
children 442e200104b3
files faenza-icon-theme/receipt faenza-icon-theme/stuff/Faenza-Dark-index.theme faenza-icon-theme/stuff/Faenza-Darker-index.theme faenza-icon-theme/stuff/Faenza-Darkest-index.theme tazpkg-test/receipt
line diff
     1.1 --- a/faenza-icon-theme/receipt	Thu Nov 12 19:07:07 2015 +0100
     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  }
     2.1 --- a/tazpkg-test/receipt	Thu Nov 12 19:07:07 2015 +0100
     2.2 +++ b/tazpkg-test/receipt	Thu Nov 12 20:15:39 2015 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="tazpkg-test"
     2.7 -VERSION="856"
     2.8 +VERSION="857"
     2.9  CATEGORY="base-system"
    2.10  SHORT_DESC="SliTaz packages manager"
    2.11  MAINTAINER="al.bobylev@gmail.com"