wok-current diff openal/receipt @ rev 21927
updated socat (2.0.0-b7 -> 2.0.0-b8)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Oct 05 21:31:52 2019 +0100 (2019-10-05) |
parents | bc1e57eee4df |
children | f59250a6e10d |
line diff
1.1 --- a/openal/receipt Wed Jul 24 15:21:45 2019 +0200 1.2 +++ b/openal/receipt Sat Oct 05 21:31:52 2019 +0100 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 }