blob: 999b93c8b8503c61463e29937e0195ba66557e57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
post_install() {
if ! getent group bitlbee &>/dev/null; then
groupadd -r -g 65 bitlbee >/dev/null
fi
if ! getent passwd bitlbee &>/dev/null; then
useradd -r -u 65 -g bitlbee -d /var/lib/bitlbee -s /bin/false -c bitlbee bitlbee >/dev/null
fi
systemd-tmpfiles --create bitlbee.conf
}
post_upgrade() {
post_install
}
|