wok-current rev 22043

openal: post-install(): fix "sed: unmatched '|'" error
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:57:36 2019 +0300 (2019-10-22)
parents 0fe47802b33b
children 11eb01863eec
files openal/receipt
line diff
     1.1 --- a/openal/receipt	Tue Oct 22 12:55:54 2019 +0300
     1.2 +++ b/openal/receipt	Tue Oct 22 12:57:36 2019 +0300
     1.3 @@ -35,7 +35,7 @@
     1.4  	[ -s $1/etc/rcS.conf ] &&
     1.5  	case " $(. $1/etc/rcS.conf; echo $LOAD_MODULES) " in
     1.6  	*\ snd-pcm-oss\ *) ;;
     1.7 -	*) sed -i 's|LOAD_MODULES="|&snd-pcm-oss ' $1/etc/rcS.conf ;;
     1.8 +	*) sed -i 's|LOAD_MODULES="|&snd-pcm-oss |' $1/etc/rcS.conf ;;
     1.9  	esac
    1.10  	[ "$1" ] || modprobe snd-pcm-oss 2> /dev/null || true
    1.11  }