mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
14 lines
472 B
Plaintext
14 lines
472 B
Plaintext
post_install() {
|
|
echo '==> Bitlbee can run through xinetd or as a daemon for now.'
|
|
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
|
|
} |