bluez-alsa: simplify creation of /run/bluealsa
This commit is contained in:
parent
620e07ac2f
commit
ecc7b9f11c
@ -1,10 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -r ./conf ] && . ./conf
|
[ -r ./conf ] && . ./conf
|
||||||
|
|
||||||
dir=/var/run/bluealsa
|
vinstall -d -m0755 -o _bluez_alsa -g audio /run/bluealsa
|
||||||
user=_bluez_alsa
|
exec chpst -u _bluez_alsa:audio bluealsa $OPTS
|
||||||
group=audio
|
|
||||||
|
|
||||||
[ ! -d "${dir}" ] && mkdir "${dir}" && chown $user:$group ${dir}
|
|
||||||
exec chpst -u $user:$group bluealsa $OPTS
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'bluez-alsa'
|
# Template file for 'bluez-alsa'
|
||||||
pkgname=bluez-alsa
|
pkgname=bluez-alsa
|
||||||
version=1.3.1
|
version=1.3.1
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-aac --disable-hcitop --enable-debug"
|
configure_args="--enable-aac --disable-hcitop --enable-debug"
|
||||||
hostmakedepends="pkg-config automake libtool"
|
hostmakedepends="pkg-config automake libtool"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user