- 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
- }
- post_upgrade() {
- post_install
- }
|