wok diff openal/receipt @ rev 21879

Add borgbackup py3k-cython py3k-setuptools_scm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 29 11:57:57 2019 +0200 (2019-09-29)
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 Sep 29 11:57:57 2019 +0200
     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  }