pulseaudio 1.1: replace hardcoded /etc with ${sysconfdir}

(From OE-Core rev: 82414933a98b30f48507858e7fc22b349a4f8dab)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Koen Kooi 2011-11-29 22:24:59 +01:00 committed by Richard Purdie
parent 9922ac7b80
commit 4217c91aba
2 changed files with 5 additions and 5 deletions

View File

@ -90,13 +90,13 @@ pkg_postinst_${PN}-server() {
if [ "x$D" != "x" ]; then
exit 1
fi
grep -q pulse: /etc/group || addgroup pulse
grep -q pulse: /etc/passwd || \
grep -q pulse: ${sysconfdir}/group || addgroup pulse
grep -q pulse: ${sysconfdir}/passwd || \
adduser --disabled-password --home=/var/run/pulse --system \
--ingroup pulse --no-create-home -g "Pulse audio daemon" pulse
addgroup pulse audio
if [ -e /etc/init.d/populate-volatile.sh ] ; then
/etc/init.d/populate-volatile.sh update
if [ -e ${sysconfdir}/init.d/populate-volatile.sh ] ; then
${sysconfdir}/init.d/populate-volatile.sh update
fi
}

View File

@ -1,6 +1,6 @@
require pulseaudio.inc
PR = "r1"
PR = "r2"
DEPENDS += "libjson gdbm speex libxml-parser-perl-native"