Welcome to mirror list, hosted at ThFree Co, Russian Federation.

postinst.systemd « DEBIAN - github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 78457da540b6568a86c34bd3f08e4a22e32d1561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = configure ]; then

   if ! getent passwd vk4xmpp >/dev/null; then
      adduser --disabled-password --quiet --system \
        --home "/usr/share/vk4xmpp" --no-create-home \
        --gecos "Vkontakte XMPP Transport" --group vk4xmpp
    fi
fi