1 2 3 4 5 6
post_upgrade() { if [ "$(vercmp $2 2.4.13)" -lt 0 ]; then groupdel camera &>/dev/null echo "Users no longer need to be in the 'camera' group to use camera devices" fi }