post_install() {
getent group adbusers >> /dev/null || /usr/sbin/groupadd adbusers || return 1
/bin/cat << EOF
===> In order to use adb, you have to be in the 'adbusers' group
===> For that, use: gpasswd -a USERNAME adbusers
EOF
}
post_upgrade() {
post_install
}
post_remove() {
getent group adbusers &>/dev/null && /usr/sbin/groupdel adbusers
}