post_upgrade() {
    getent group mopidy &>/dev/null || groupadd -g 46 mopidy >/dev/null
    getent passwd mopidy &>/dev/null || useradd -u 46 -d /var/lib/mopidy -s /bin/false -g mopidy -G audio mopidy >/dev/null
}

post_install() {
    post_upgrade
}
