summaryrefslogtreecommitdiffstats
path: root/audio-drivers/sndio/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'audio-drivers/sndio/INSTALL')
-rwxr-xr-xaudio-drivers/sndio/INSTALL4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio-drivers/sndio/INSTALL b/audio-drivers/sndio/INSTALL
index 835eed7b55..e610c5af61 100755
--- a/audio-drivers/sndio/INSTALL
+++ b/audio-drivers/sndio/INSTALL
@@ -1,5 +1,5 @@
default_install &&
-mkdir /var/run/sndiod &&
-if ! exists_account sndiod; then
+mkdir -p /var/run/sndiod &&
+if ! grep -q "^sndiod:" "$INSTALL_ROOT"/etc/passwd; then
useradd -r -g audio -s /sbin/nologin -d /var/run/sndiod sndiod
fi