wok-tiny diff module-8250/receipt @ rev 126
Update config_form()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 19:39:46 2017 +0100 (2017-02-12) |
parents | 0d8ef9102fc0 |
children | 2c80994c5e30 |
line diff
1.1 --- a/module-8250/receipt Sat Feb 27 10:51:46 2016 +0100 1.2 +++ b/module-8250/receipt Sun Feb 12 19:39:46 2017 +0100 1.3 @@ -28,5 +28,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 serial_core 8250 ; do 1.9 + grep -qs ^$i$ $1/modules || echo $i >> $1/modules 1.10 + done 1.11 }