wok-current diff openal/receipt @ rev 22029
updated tiff, tiff-apps and tiff-dev (4.0.3 -> 4.0.10)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Oct 20 17:03:34 2019 +0100 (2019-10-20) |
parents | bc1e57eee4df |
children | f59250a6e10d |
line diff
1.1 --- a/openal/receipt Wed Jul 24 15:21:45 2019 +0200 1.2 +++ b/openal/receipt Sun Oct 20 17:03:34 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 }