wok-tiny diff module-hfsplus/receipt @ rev 114

modules-*: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 01 23:34:24 2016 +0200 (2016-04-01)
parents 0d8ef9102fc0
children 2c80994c5e30
line diff
     1.1 --- a/module-hfsplus/receipt	Sat Feb 27 10:51:46 2016 +0100
     1.2 +++ b/module-hfsplus/receipt	Fri Apr 01 23:34:24 2016 +0200
     1.3 @@ -30,7 +30,9 @@
     1.4  # Post install/remove commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	echo ${PACKAGE#*-} >> $1/modules
     1.8 +	for i in nls_base hfsplus ; do
     1.9 +		grep -qs ^$i$ $1/modules || echo $i >> $1/modules
    1.10 +	done
    1.11  	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
    1.12  		echo "${PACKAGE#*-}" >> $1/etc/filesystems
    1.13  }