wok diff openal/receipt @ rev 21996
linux: add ath10k wireless driver
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Oct 16 21:56:55 2019 -0400 (2019-10-16) |
parents | bc1e57eee4df |
children | f59250a6e10d |
line diff
1.1 --- a/openal/receipt Wed Jul 24 15:21:45 2019 +0200 1.2 +++ b/openal/receipt Wed Oct 16 21:56:55 2019 -0400 1.3 @@ -32,10 +32,10 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 + [ -s $1/etc/rcS.conf ] && 1.8 case " $(. $1/etc/rcS.conf; echo $LOAD_MODULES) " in 1.9 *\ snd-pcm-oss\ *) ;; 1.10 - *) [ -s $1/etc/rcS.conf ] && 1.11 - sed -i 's|LOAD_MODULES="|&snd-pcm-oss ' $1/etc/rcS.conf 1.12 - [ "$1" ] || modprobe snd-pcm-oss;; 1.13 + *) sed -i 's|LOAD_MODULES="|&snd-pcm-oss ' $1/etc/rcS.conf ;; 1.14 esac 1.15 + [ "$1" ] || modprobe snd-pcm-oss 2> /dev/null || true 1.16 }