wok-tiny diff module-usbserial/receipt @ rev 141

linux: pack setup (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 07 11:56:18 2018 +0200 (2018-07-07)
parents 14e714f8c808
children 2c80994c5e30
line diff
     1.1 --- a/module-usbserial/receipt	Wed Mar 30 09:53:55 2016 +0200
     1.2 +++ b/module-usbserial/receipt	Sat Jul 07 11:56:18 2018 +0200
     1.3 @@ -32,5 +32,7 @@
     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 usbcore usbserial ; do
     1.9 +		grep -qs ^$i$ $1/modules || echo $i >> $1/modules
    1.10 +	done
    1.11  }