Switch to unified view
a | b/debian/postinst | ||
---|---|---|---|
1 | #! /bin/sh |
||
2 | # postinst for upmpdcli |
||
3 | |||
4 | set -e |
||
5 | |||
6 | if [ "$1" = configure ]; then |
||
7 | if ! getent passwd upmpdcli > /dev/null; then |
||
8 | adduser --disabled-password --quiet --system \ |
||
9 | --home /nonexistent --no-create-home --shell /bin/false upmpdcli |
||
10 | fi |
||
11 | fi |
||
12 | |||
13 | #DEBHELPER# |
||
14 | |||
15 | exit 0 |