|
a/debian/postinst |
|
b/debian/postinst |
|
... |
|
... |
6 |
if [ "$1" = configure ]; then
|
6 |
if [ "$1" = configure ]; then
|
7 |
if ! getent passwd upmpdcli > /dev/null; then
|
7 |
if ! getent passwd upmpdcli > /dev/null; then
|
8 |
adduser --disabled-password --quiet --system \
|
8 |
adduser --disabled-password --quiet --system \
|
9 |
--home /nonexistent --no-create-home --shell /bin/false upmpdcli
|
9 |
--home /nonexistent --no-create-home --shell /bin/false upmpdcli
|
10 |
fi
|
10 |
fi
|
|
|
11 |
if ! groups upmpdcli | cut -d' ' -f 3- | grep -q -w audio ; then
|
|
|
12 |
usermod -a -G audio upmpdcli
|
|
|
13 |
fi
|
11 |
fi
|
14 |
fi
|
12 |
|
15 |
|
13 |
#DEBHELPER#
|
16 |
#DEBHELPER#
|
14 |
|
17 |
|
15 |
exit 0
|
18 |
exit 0
|