Download this file

postinst    16 lines (11 with data), 273 Bytes

#! /bin/sh
# postinst for upmpdcli

set -e

if [ "$1" = configure ]; then
    if ! getent passwd upmpdcli > /dev/null; then
	adduser --disabled-password --quiet --system \
	    --home /nonexistent --no-create-home --shell /bin/false upmpdcli
    fi
fi

#DEBHELPER#

exit 0