diff options
Diffstat (limited to 'audio/daapd/pkg-install')
-rw-r--r-- | audio/daapd/pkg-install | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/audio/daapd/pkg-install b/audio/daapd/pkg-install deleted file mode 100644 index dc09fedcd663..000000000000 --- a/audio/daapd/pkg-install +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -PATH=/bin:/usr/bin:/usr/sbin - -case $2 in - -PRE-INSTALL) - echo "---> Starting pre-install script:" - - if pw showgroup "%%GROUP%%" 2>/dev/null; then - echo "---> Using existing group \"%%GROUP%%\"" - else - echo "---> Adding group \"%%GROUP%%\"" - pw addgroup %%GROUP%% -h - || exit 1 - fi - - # Create user if required - if pw showuser "%%USER%%" 2>/dev/null; then - echo "---> Using existing user \"%%USER%%\"" - else - echo "---> Adding user \"%%USER%%\"" - pw adduser %%USER%% -g %%GROUP%% -h - \ - -d "/nonexistent" -s "/sbin/nologin" -c "daapd User" || exit 1 - fi - - ;; - -esac |