wok-tiny diff module-cs89x0/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 10cf1a5f187d
line diff
     1.1 --- a/module-cs89x0/receipt	Sat Feb 27 10:51:46 2016 +0100
     1.2 +++ b/module-cs89x0/receipt	Fri Apr 01 23:34:24 2016 +0200
     1.3 @@ -31,6 +31,7 @@
     1.4  	[ "$IRQCS89" ] || return
     1.5  	IRQCS89="|irq=${IRQCS89%%[, ]*}"
     1.6  	[ "$IOCS89" ] && IOCS89="|io=${IOCS89%%[, ]*}"
     1.7 +	grep -qs "^${PACKAGE#*-}|" $1/modules ||
     1.8  	echo "${PACKAGE#*-}$IOCS89$IRQCS89|mode=${MODECS89:-rj45}|debug=${DEBUGCS89:-0}" >> $1/modules
     1.9  }
    1.10