blob: 7b43c7885bf9d87225692503bc54fca4ca5449ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
post_install() {
getent group bitlbee &>/dev/null || groupadd -r -g 65 bitlbee >/dev/null
getent passwd bitlbee &>/dev/null || useradd -r -u 65 -g bitlbee -d /var/lib/bitlbee -s /bin/false -c bitlbee bitlbee >/dev/null
}
post_upgrade() {
post_install
}
post_remove() {
getent passwd bitlbee &>/dev/null && userdel bitlbee >/dev/null
getent group bitlbee &>/dev/null && groupdel bitlbee >/dev/null
}
|