wok-tiny diff module-tlan/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 fe3786524709
children 10cf1a5f187d
line diff
     1.1 --- a/module-tlan/receipt	Wed Mar 09 21:30:10 2016 +0100
     1.2 +++ b/module-tlan/receipt	Fri Apr 01 23:34:24 2016 +0200
     1.3 @@ -28,6 +28,7 @@
     1.4  # Post install/remove commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 +	grep -qs "^${PACKAGE#*-}|" $1/modules ||
     1.8  	echo "${PACKAGE#*-}|aui=${AUITLAN:-0}|bbuf=${BIGBUFTLAN:-0}|speed=${SPEEDTLAN:-0}|duplex=${DUPLEXTLAN:-0}" >> $1/modules
     1.9  }
    1.10